Untitled
unknown
plain_text
4 years ago
510 B
10
Indexable
<script> extra=0; $(window).scroll(function() { var scrolledLength = ( $(window).height() + extra ) + $(window).scrollTop(), documentHeight = $(document).height(); if( scrolledLength >= documentHeight ) { $("footer").addClass("open"); } else if ( scrolledLength <= documentHeight && $("footer").hasClass('open') ) { $("footer").removeClass("open"); } }); </script>
Editor is loading...