'wheelDelta' Example : wheelDelta « Javascript Properties « JavaScript Reference
- JavaScript Reference
- Javascript Properties
- wheelDelta
'wheelDelta' Example
<html>
<body>
<p>
Move mouse wheel on top of the image</p>
<img id="yourimage"
src="http://www.java2s.com/style/logo.png"
onmousewheel="alert('Wheel Delta: ' + event.wheelDelta);">
</body>
</html>
Related examples in the same category