jquery how to check if the scroll is almost down

$(window).scroll(function() {
var windowsHeight = $(document).height() - $(window).height();
var currentScroll = $(document).scrollTop();

//if I scroll more than 80%
if( ((currentScroll *100) / windowsHeight) > 60){

Recent Article

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.