From: Joy R. <joy...@ho...> - 2003-02-19 06:49:05
|
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" <ac...@ou...> To: <dyn...@li...> 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 Dyn...@li... https://lists.sourceforge.net/lists/listinfo/dynapi-help |