Ahh.. I see now. Thank you for clearing that up for me. :) Forgive me for asking but, does anyone know if there is a way to access the true coordinates of page elements?
- - - - - - - - - -[andrew murphy]- flash subject matter expert [EMAIL PROTECTED] delvinia interactive 214 king street west, suite 214 toronto canada M5H 3S6 voice 416.364.1455 ext. 232 fax 416.364.9830 www.delvinia.com CONFIDENTIALITY NOTICE This email message may contain privileged or confidential information. If you are not the intended recipient or received this communication by error, please notify the sender and delete the message without copying or disclosing it. AVIS DE CONFIDENTIALITÉ Ce message peut contenir de l'information légalement privilégiée ou confidentielle. Si vous n'êtes pas le destinataire ou croyez avoir reçu par erreur ce message, nous vous saurions gré d'en aviser l'émetteur et d'en détruire le contenu sans le communiquer a d'autres ou le reproduire. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Maciej Stachowiak Sent: July 3, 2007 5:16 PM To: Darin Adler Cc: webkit-dev Development Subject: Re: [webkit-dev] Accessing Web Kit DOM properties via Javascript On Jul 3, 2007, at 2:10 PM, Darin Adler wrote: > On Jul 3, 2007, at 2:07 PM, Maciej Stachowiak wrote: > >> On Jul 3, 2007, at 1:51 PM, Andrew Murphy wrote: >> >>> For example, is it possible to access the "coords" property of an >>> "HTMLAnchorElement" like this: >> >> "coords" only applies to an HTMLAreaElement, not an >> HTMLAnchorElement. > > Are you sure? > > This lists coords for the anchor element: http://www.w3.org/TR/DOM- > Level-2-HTML/html.html You're right, and the coords markup attribute is even allowed for A. Looking at the original example more closely, the result is an empty string because no coords attribute is set on the A element in the markup. coords reflects an attribute value, it does not give the true coordinates of the A element. coords is meant for use with client- side image maps, and to my knowledge only has an actual effect for AREA, not A. Regards, Maciej _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.0/886 - Release Date: 04/07/2007 1:40 PM No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.476 / Virus Database: 269.10.0/886 - Release Date: 04/07/2007 1:40 PM _______________________________________________ webkit-dev mailing list [email protected] http://lists.webkit.org/mailman/listinfo/webkit-dev

