views:

242

answers:

2

Hi,

I'm developing a web application and I noticed how irritating mouse gestures can be on it, so, is there a way to disable them (Firefox and Opera particularly)?

Edit: It seems there is some confusion. I'm developing a web based software that has an interface with such complex actions and tasks such as mouse selections, file drag and dropping, a desktop and a Windows Explorer -style filesystem. Whenever I try to select multiple virtual files and move them around, mouse gestures will apply and take me away from the software and navigate to the previous page or do something else nasty. My project is not a website, it's a web application -- mouse gestures are poison to this project.

+1  A: 

You don't say you're using a library, but this is a jQuery plugin to detect gestures: http://plugins.jquery.com/project/jGesture

Looking at the source code, looks like it depends on measuring the action b/t mousdown and mouseup ... lotsa math.

And Mozilla offers some event handlers.. https://developer.mozilla.org/En/DOM/Mouse_gesture_events but it has a big Non-standard stamped on it.

D_N
Very interesting, although this won't solve much.
rFactor
+1  A: 

the polite thing to do would be to inform users that to take full advantage of your site, they should disable mouse gestures temporarily.

Albert Visser