MouseMove tracks the mouse. ....

A drag for example uses Left Mouse Click (down) plus Mouse Move

Click simply detects the click on an element or page..

If you want to observe mousemove into an element then setup an observer once 
it has entered for click .. this seems a slight waste of time and memory to 
setup observers ad hoc..

What exactly are you trying to acheive - perhaps one of us can point you in 
the right direction...





Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Frédéric" <f...@gbiloba.org>
To: <prototype-scriptaculous@googlegroups.com>
Sent: Thursday, December 10, 2009 8:24 AM
Subject: Re: [Proto-Scripty] Re: Check a mouse button


Le mercredi 9 décembre 2009 17:35, Frédéric a écrit :

> I have to check again, but in my previous tests, the isLeftClick() always
> returned true, and other always returned false...

I confirm that isLeftClick() always return true, and isMiddleClick() and
isRightClick() always return false...

Could it be because I have only one 'mousemove' callback for several
elements?

-- 
   Frédéric

--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to 
prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



--

You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.


Reply via email to