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.
Mouse scroll wheel jumps can usually be solved by basic troubleshooting techniques like rebooting the computer, cleaning the mouse components, replacing or recharging the mouse batteries, or checking the wireless connection or USB port. The issue can also be resolved by updating corrupt or outdated drivers.
The onwheel event occurs when the mouse wheel is rolled up or down over an element. The onwheel event also occurs when the user scrolls or zooms in or out of an element by using a touchpad (like the "mouse" of a laptop).
You need some JS Framework to simply your development and not reinvent the wheel.
Here is examples for Mootools
And here for JQuery
If your looking for a cross browser, JavaScript framework independent version then this will do what you need
http://adomas.org/javascript-mouse-wheel/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With