Bug Tracker

Opened 15 years ago

Closed 14 years ago

Last modified 11 years ago

#2451 closed bug (duplicate)

LayerX and layerY returns undefined in IE/Opera

Reported by: Haris Owned by:
Priority: major Milestone: 1.2.4
Component: core Version: 1.2.3
Keywords: Cc:
Blocked by: Blocking:


object.layerX and object.layerY is not cross-browser. IE/Opera doesn't support layerX and layerY variables returned by mouseover, click and other events.

Change History (3)

comment:1 Changed 14 years ago by dmethvin

jQuery returns the event object with whatever properties are provided by the browser, and also normalizes a set of properties so they will be consistent across all browsers.

Are you requesting that layerX and layerY be added to the normalized set?

comment:2 Changed 14 years ago by hc00jw

This is the same as;


In JQuery 1.2.3 with Safari/FireFox/Opera, layerX/Y would return the expected values. However, when upgrading to 1.2.6, all browsers instead return undefined. In Internet Explorer 6/7 JQuery has always returned undefined.

comment:3 Changed 14 years ago by dmethvin

Resolution: duplicate
Status: newclosed

OK, thanks, I'll close this as a dup and refer it back here.

Note: See TracTickets for help on using tickets.