Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Position of the mouse pointer

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
how can I get the current position of a mouse pointer.
"event.clientY" gives me the position correctly if I don't scroll down. But if I do it gives me wrong pixels. How can I get the position from the top of the screen, irrespective of beign scrolled or not.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top