I\'m designing a very simple web page (HTML only), the only \"feature\" I want to implement is to do something when the user scrolls down the page, is there a way to capture
u can simply use this
window.addEvent('scroll',function(e) { if (document.body.scrollTop > 50 || document.documentElement.scrollTop > 50) { // enter code here } });