22 March 2007 04:45
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)