'onMouseWheel' Example : onMouseWheel : Event onMethod JAVASCRIPT DHTML TUTORIALS


JAVASCRIPT DHTML TUTORIALS » Event onMethod » onMouseWheel »

 

'onMouseWheel' Example



    
<html>
<body>
    <p>Move mouse in and move the mouse wheel up or down.</p>
    <img id="yourimage" 
         src="http://www.navioo.com/style/logo.png" 
         width="500"
         height="500"
         onmousewheel="alert('Wheel Delta: ' + event.wheelDelta);">
</body>
</html>

    
      
      



-

Leave a Comment / Note


 
Verification is used to prevent unwanted posts (spam). .

Follow Navioo On Twitter

JAVASCRIPT DHTML TUTORIALS

 Navioo Event onMethod
» onMouseWheel