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

objective c - Change font of selected text in UITextView -

php - Accessing POST data in Facebook cavas app -

c# - Getting control value when switching a view as part of a multiview -