Mouse wheel Delta : Mouse « Event « JavaScript DHTML






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.java2s.com/style/logo.png" 
     onmousewheel="alert('Wheel Delta: ' + event.wheelDelta);">
</body>
</html>

    
      
        
  








Related examples in the same category

1.'button' Example
2.Get X/Y screen position (IE)