Hi André.
"André M. Winter - Carto.net":
> i am just wondering if this code to bring a clicked element to the top
> of its container group is correct:
>
> onclick="evt.target.parentNode.appendChild(evt.target)"
>
> FF and ASV3 do what they are told, but is a previous removeChild()
> really obsolete?
Yes, it’s not necessary. From DOM Level 2 Core:
appendChild
Adds the node newChild to the end of the list of children of this
node. If the newChild is already in the tree, it is first removed.
— http://www.w3.org/TR/DOM-Level-2-Core/core.html#ID-184E7107
--
Cameron McCormack, http://mcc.id.au/
xmpp:[EMAIL PROTECTED] ▪ ICQ 26955922 ▪ MSN [EMAIL PROTECTED]
-----
To unsubscribe send a message to: [EMAIL PROTECTED]
-or-
visit http://groups.yahoo.com/group/svg-developers and click "edit my
membership"
----
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/svg-developers/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/svg-developers/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/