Thread: Mouse coords

    #1
  1. No Profile Picture
    Tags
    Guest
    Devshed Newbie (0 - 499 posts)
    Hi,

    Can anyone tell me how to get the coordinates of the mouse pointer?

    Thanks,
    Tags.
  2. #2
  3. No Profile Picture
    christine
    Guest
    Devshed Newbie (0 - 499 posts)
    Try this:

    Yposition = event.clientY;
    Xposition = event.clientX;

    You can also have a look at http://www.irt.org/script/490.htm

Similar Threads

  1. Need a simple random mouse mover
    By bensmail in forum Project Help Wanted
    Replies: 5
    Last Post: May 7th, 2007, 07:37 PM
  2. Linux mouse issue - what am I missing?
    By Gnosis in forum Linux Help
    Replies: 3
    Last Post: December 20th, 2003, 11:50 PM
  3. recompile kernel -> mouse dies
    By infamous41md in forum Linux Help
    Replies: 2
    Last Post: October 16th, 2003, 06:47 PM
  4. mouse events in visual c++
    By liv in forum C Programming
    Replies: 1
    Last Post: April 24th, 2003, 10:49 AM
  5. onmouseover on image - > launch on mouse over event on text
    By IrinaIonela in forum HTML Programming
    Replies: 1
    Last Post: May 17th, 2002, 03:18 AM

IMN logo majestic logo threadwatch logo seochat tools logo