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.
"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.