Some time ago I developed the possibly superstitious habit of putting an
onload=startup(evt) inside my <svg> tag; then having
function startup(evt)
{
SVGDocument=evt.target.ownerDocument
SVGRoot = SVGDoc.documentElement;
}
in any document where I might later want to add new nodes to the
SVGRoot. I'm not quite sure why I started doing this since the
briefer declaration
function startup(evt)
{
SVGDocument=document
SVGRoot = SVGDoc.documentElement;
}
seems to work fine in Opera, FF1.5 and IE/ASV3.
Is my superstition here based on some historical wisdom, or might I
just discard it along with other excess cognitive baggage?
thanks,
David
-----
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/