'onMouseWheel' Syntax and Note : onMouseWheel « Event Handlers Reference « JavaScript Reference

'onMouseWheel' Syntax and Note

Note:
    
This event fires when the mouse wheel button rotates. 
This event is the only one that exposes the wheelDelta object property. 
wheelDelta returns a positive value when the wheel button has rotated away from the user, 
and a negative value when the wheel button has rotated toward the user.
      
      








Related examples in the same category

1.'onMouseWheel' Example
2.'onMouseWheel' Properties
3.'onMouseWheel' is applied to