July 17, 2001 - The onmousewheel Event (IE6) | WebReference

July 17, 2001 - The onmousewheel Event (IE6)

Yehuda Shiran July 17, 2001
The onmousewheel Event (IE6)
Tips: July 2001

Yehuda Shiran, Ph.D.
Doc JavaScript

Internet Explorer 6 supports a new event, onmousewheel. The onmousewheel event is triggered when the user rotates the wheel button. Put your mouse on the image below and rotate the wheel button. The image should change its position on the page. Here is an example that shows how to use the onmousewheel event:

<IMG ID="objImage" SRC="football.jpg" onmousewheel="shiftUpDown()" WIDTH="400"
HEIGHT="266">

Here is the image: