22 March 2007 04:45
![](https://blogmarks.net/screenshots/2006/01/23/9f5f09c0b9afd1dccaad63ed41135979.png)
JavaScript Cursor Position
by 5 othersIE stores this offset in its document.documentElement.clientLeft and document.documentElement.clientTop properties. This code should calculate the correct cursor position in all current browsers:
1
(1 marks)