Bug #128748, was updated on 2001-Jan-14 11:07
Here is a current snapshot of the bug.

Project: DynAPI 2
Category: Core API
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: eytanh
Assigned to : nobody
Summary: Mouse Events

Details: I have found this in IE 5 and NS 4.
If you try to use an event handler and you try to call e.x or e.getX or
e.getPageX. (or instead of x y) you get a madeup result. (-1 all the time).
I think the problem is with these lines:
        this.pageX=is.ie?e.x+document.body.scrollLeft:e.pageX-window.pageXOffset;
        this.pageY=is.ie?e.y+document.body.scrollTop:e.pageY-window.pageYOffset;
this.x=is.ie?e.offsetX:e.layerX;
this.y=is.ie?e.offsetY:e.layerY;
I have a feeling that some of these variables are undefined and thus
resulting in inaccurate results.
On the other hand if instead of trying to call
e.getX(); you call e.orig.x it works.

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=128748&group_id=5757

_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-dev

Reply via email to