How can I detect the number of pixels scrolled in a browser window? I need this to dynamically adjust the height of a 100% height div...
I\'m using jQuery.
use $(document).scrollTop() :
$(document).scrollTop()
$(document).scroll(function() { console.log($(document).scrollTop()); })