More information about the Underscore mailing list

[_] Mouse status with Javascript

Raymond Brooks ray at conscious.co.uk
Thu Mar 22 12:53:41 GMT 2007

David Elliott wrote:
> Hi All
>
> How do I get the mouse status in Javescript?
>
> What I am doing is using the onclick handler to call a function. I then want
> to see if the mouse is still down and if so call the routine again.
>
>   
can't do that. the mouse is event based in javascript - what you are 
trying to do is much lower level. there are onmousedown and onmouseup 
events, though. try them instead.

rx