Thursday, 8 August 2013

jQuery scroll listener for user input (even if page isnt scrollable)

jQuery scroll listener for user input (even if page isnt scrollable)

Is it possible to have a jQuery or javascript listener for when a user
tries to scroll, even if the web page is not scrollable? I need to execute
some code when the user tries to scroll down, even if the web page is
short enough that there is no scrolling.
Note this solution doenst need to work for touch-screens.

No comments:

Post a Comment