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.
UPDATE I need different code to execute when the user tries to scroll up as opposed to down.