This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread 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 Murach's Java Servlets and JSP this week in the Servlets 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: 60766
    
  65

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,
-------
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Mouse wheel in javascript
 
Similar Threads
how to add a scrollbar to a view
dumb newbie question
Getting new Apple notebook - configuration?
Mouse Wheel Support in Swing Application
Scrolling with mouse wheel in scrollpane without scrollbar