The patch seems to have fixed the DynEvent.getX() bug on IE/Mac. Unfortunately, it seems to have broken other features (like dragging).
I'll start diffing the files to see if I can determine what changed between the versions. Thanks again for your help. - Abre -----Original Message----- From: Joy Ride [mailto:[EMAIL PROTECTED]] Sent: Wednesday, February 19, 2003 1:49 AM To: Abre Chase; [EMAIL PROTECTED] Subject: Re: [Dynapi-Help] IE5 Mac - DynEvent.getX() reports incorrect position Hello, Well, we have made some compability modifications in to DynAPI 2.5.7. You might want to try those. Also we are currently in progress of fixing few Mac related issues (for example in loadpanel.js) for DynAPI2 (I'm sure that these fixes will be usefull for DynAPI3 as well). If you are interested, you might want to try modified version attached in to this email. ... I don't give any promises though :-) It is basically 2.5.7 with some support for Opera and some fixes for Machintosh (and others). - Juho Risku ----- Original Message ----- From: "Abre Chase" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, February 19, 2003 12:49 AM Subject: [Dynapi-Help] IE5 Mac - DynEvent.getX() reports incorrect position This may or may not be related to the DynAPI... I'm using 2.5.7 and have been tasked with porting some existing code to the Mac IE5.2 environment. I've noticed that the getX() method of the DynEvent returns incorrect values. The event is occurring in a DynLayer which was created inline - which may have something to do with the problem... I've done some debugging (mouse.js ~line 83): evt.pageX=is.ie?e.x+document.body.scrollLeft:e.pageX; // e.x = 110, document.body.scrollLeft = 0 evt.x=is.ie?evt.pageX-evt.src.getPageX():e.layerX // pageX = 110, src.getPageX = 101 It seems that the initial e.x is being reported incorrectly. That value should be closer to 100. From what I can tell, this is the "unmolested" browser event's x property. Is the browser returning an incorrect coordinate? Is it buffered with something like document.body.offsetX? Is anyone aware of issues involving the event.x property being incorrect for IE5 on the Mac? I've read that document.body.scrollLeft is unreliable and should be replaced with document.documentElement.scrollLeft. Any truth to that? Thanks in advance for any advice/discussion. - Abre ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help ------------------------------------------------------- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge _______________________________________________ Dynapi-Help mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dynapi-help
