Bug Tracker

Modify

Ticket #4818 (closed bug: duplicate)

Opened 4 years ago

Last modified 2 years ago

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

comment:1 Changed 3 years ago by dmethvin

Related: #4927

comment:2 Changed 2 years ago by snover

  • Status changed from new to closed
  • Resolution set to duplicate

comment:3 Changed 2 years ago by snover

Duplicate of #4927.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.