Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery on scroll x pixels

$(document).scroll(function() {
           var value=$(document).scrollTop();/* <== here*/

            if ( value >= 1000 ) {
            } else if ( value >= 500 ) {
            } else {
            }
        });
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery #scroll #pixels
ADD COMMENT
Topic
Name
8+8 =