window log scrollpostion code example
Example: window log scrollpostion
$(window).on('scroll', function() {
console.log( $(this).scrollTop() );
});
$(window).on('scroll', function() {
console.log( $(this).scrollTop() );
});