Modify ↓
Ticket #4818 (closed bug: duplicate)
Wrong ClientX/ClientY calculating in IE6 & IE 7 in Standard Mode
| Reported by: | twirl | Owned by: | brandon |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.4 |
| Component: | event | Version: | 1.3.2 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
There is 2 pixel gap because of IE's document.documentElement.clientLeft and document.documentElement.clientTop, which should be subtracted to obtain correct ClientX and ClientY values.
http://ajaxian.com/archives/javascript-tip-cross-browser-cursor-positioning
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

Related: #4927