From: Abre C. <ac...@ou...> - 2003-02-19 15:05:19
|
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:joy...@ho...] Sent: Wednesday, February 19, 2003 1:49 AM To: Abre Chase; dyn...@li... 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" <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=3Dis.ie?e.x+document.body.scrollLeft:e.pageX; // e.x =3D 110, document.body.scrollLeft =3D 0 evt.x=3Dis.ie?evt.pageX-evt.src.getPageX():e.layerX // pageX =3D 110, src.getPageX =3D 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 |