This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths 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 Head First Android this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Mouse wheel in javascript" Watch "Mouse wheel in javascript" New topic

Mouse wheel in javascript

paramu vinayagam
Ranch Hand

Joined: Dec 10, 2008
Posts: 37
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,
Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63052

There are no standard events for the mouse wheel.

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

Joined: Nov 08, 2001
Posts: 15385
Take a look at this:

paramu vinayagam
Ranch Hand

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

I agree. Here's the link:
subject: Mouse wheel in javascript
It's not a secret anymore!