Reputation: 6110
In HTML I have a table that is used as a grid. Now, I want to attach an event to this table, that when a scroll up/down is triggered, then my ScrollUp/ScrollDown function is called.
Upvotes: 8
Views: 1763
Reputation: 6470
You need some JS Framework to simply your development and not reinvent the wheel.
Here is examples for Mootools
And here for JQuery
Upvotes: 4
Reputation: 4095
If your looking for a cross browser, JavaScript framework independent version then this will do what you need
http://adomas.org/javascript-mouse-wheel/
Upvotes: 3