...observe('mousemove',function(e) {

$('SomeElement').observe('click',function() {
    doSomethingWIthyourClick();

});
});
Alex Mcauley
http://www.thevacancymarket.com
----- Original Message ----- 
From: "Frédéric" <f...@gbiloba.org>
To: <prototype-scriptaculous@googlegroups.com>
Sent: Tuesday, December 08, 2009 1:15 PM
Subject: [Proto-Scripty] Check a mouse button


Hi,

Is there a way to check if a mouse button is pressed in an
Event.observe('mousemove') callback ?

Thanks,

-- 
   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