Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Check mouse status?

Thread Tools

Check mouse status?
Posts: n/a
I just posted a message about getting a function to loop while the
mouse button is pressed down, and having the function stop when the
mouse button is released. This problem could be solved if, with
JavaScript, or any other client-side language that can be embedded in
HTML, I could check the status of the mouse button.

JavaScript can fire a function when an event happens, but could I
simply check the status of the mouse button whenever I want?
If anyone has any advice, I would greatly appreciate it.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Screen Capture With Mouse , Mouse Position Capture Max Java 7 08-08-2009 11:51 PM
Heres a mouse theres a mouse what a mouse do? unholy Gaming 37 09-17-2006 08:59 AM
tricky+frustrating: changing mouse handler while mouse pressed doesn't work Claus Atzenbeck Java 1 11-26-2004 09:40 AM
mouse systems classic mouse drivers LJA Computer Support 9 11-16-2004 11:27 PM
ASP.Net Datagrid get Cell Contents on mouse click or mouse down Davisro ASP .Net 2 04-23-2004 07:18 PM