javascript - detecting browser scrolling -


how can know when user has scroll on screen?

you subscribe window.onscroll event. example:

window.onscroll = function() {     // user scrolled window }; 

Comments

Popular posts from this blog

Python __call__ special method practical example -

arrays - jQuery - Retrieve values from HTML elements and return their sum -