Scrollpostion dziennika okna

$(window).on('scroll', function() {
    console.log( $(this).scrollTop() );
});
Panicky Pig