Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Can't manage to make Mouse Gesture Events work on Mac OS X

36 views
Skip to first unread message

Romaric Pascal

unread,
Oct 17, 2009, 10:34:00 AM10/17/09
to
Hi !

I'm experimenting with the Mouse Gesture Events (https://
developer.mozilla.org/En/DOM/Mouse_gesture_events) on Mac OS X
Leopard. I'm using the code below to listen to MozSwipeGesture
events :

function onSwipe(event){ alert("Swipe"); }
window.addEventListener("MozSwipeGesture",onSwipe,true);

Despite all my efforts, I could not manager to get an alert :( Is
there something I am doing wrong or something to turn off for gestures
event to be taken into account (f.i. swiping left or right with my 3
fingers triggers the previous/next functions of the browser) ?

Thanks by advance for your help.

Romaric Pascal

0 new messages