This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes HTML, CSS and JavaScript and the fly likes Mouse wheel in javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Mouse wheel in javascript" Watch "Mouse wheel in javascript" New topic
Author

Mouse wheel in javascript

paramu vinayagam
Ranch Hand

Joined: Dec 10, 2008
Posts: 37
sir,
I would like to know how to handle the mouse wheel. i want to show like, if scroll mouse wheel front one action perfrom, if i scroll mouse wheel
back one action will perfrom. How to handle this case ?for this case any event there like Onmouseclick,onmouseover.. ?


Thank you,
Paramu....
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61066
    
  66

There are no standard events for the mouse wheel.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Take a look at this: http://adomas.org/javascript-mouse-wheel/

Eric
paramu vinayagam
Ranch Hand

Joined: Dec 10, 2008
Posts: 37
Thank you for your reply,


Paramu,
-------
 
Don't get me started about those stupid light bulbs.
 
subject: Mouse wheel in javascript