Check mouse status?

Discussion in 'Javascript' started by pleary@mbl.edu, Jan 10, 2005.

  1. Guest

    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.
     
    , Jan 10, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Davisro
    Replies:
    2
    Views:
    1,334
    Jim Corey
    Apr 23, 2004
  2. Max
    Replies:
    7
    Views:
    9,157
  3. Claus Atzenbeck
    Replies:
    1
    Views:
    1,097
    Claus Atzenbeck
    Nov 26, 2004
  4. =?Utf-8?B?am9qb2Jhcg==?=
    Replies:
    1
    Views:
    4,125
    wwwtar
    Oct 2, 2006
  5. tom arnall
    Replies:
    6
    Views:
    1,293
    Ian Shef
    Jan 18, 2007
Loading...

Share This Page