I would like to call functions when the browser window goes beyond a certain point (e.g the user scrolled the window down beyond 200px from the top
Is there an e
You can use onscroll
function testScroll(ev){ if(window.pageYOffset>400)alert('User has scrolled at least 400 px!'); } window.onscroll=testScroll
If you want a jQuery solution you can use scroll.