Forums.ATC.no
Teknisk => Generelt teknisk => Emne startet av: ATC på 18. Juli 2010, 17:43 pm
-
What is the proper way to find the document coordinates where a mouse event occurred?
-
Internet Explorer notwithstanding, use the following code:
var posx = window.pageXOffset + event.clientX;
var posy = window.pageYOffset + event.clientY;