Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

detect scroll height

$(window).scroll(function() {
    var height = $(window).scrollTop();

    if(height  > some_number) {
        // do something
    }
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #detect #scroll #height
ADD COMMENT
Topic
Name
1+9 =