I know how to call a function when scrolling hits the bottom of the page.
$(window).scrollTop() == $(document).height() - $(window).height()
But I would like to do it a little bit before it hits the bottom. How would I accomplish this?
No comments:
Post a Comment