Mega Code Archive

 
Categories / JavaScript DHTML / Event
 

Mouse wheel Delta

<html> <body> <p> Move mouse wheel on top of the image to check the wheel delta </p> <img id="yourimage"       src="http://www.rntsoft.com/style/logo.png"       onmousewheel="alert('Wheel Delta: ' + event.wheelDelta);"> </body> </html>