Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Hi. Please assign css class (hide-on-scroll) to the fullwidth section and add this code to the Integration tab > head block:
- <script>
- $(window).scroll(function() {
- if ($(this).scrollTop()>0)
- {
- $('.hide-on-scroll').css("display","none");
- }
- else
- {
- $('.hide-on-scroll').css("display", "block");
- }
- });
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement