Aaron: So I need different code for FF as compared to IE and Opera. Damb, thats 
a shame.

No, fortunately 

    var circle = document.createElementNS('http://www.w3.org/2000/svg', 
'circle');

    (or the equivalent 
        D=document; 
        svgns='http://www.w3.org/2000/svg'; 
        D.createElementNS(svgns, 'circle');
    --should you be doing a lot of this sort of stuff and want to conserve 
kilobytes)


will work in FF, Opera and IE, and probably Batik and Konqueror and Safari as 
well.

    var circle = document.createElement('circle');

will only work in IE and probably Opera.

I resisted the extra keystrokes for a while (working with fortran in 16K of RAM 
on a time-sharing system will do that to a person), but it makes documents more 
portable into a future that has many <XML> languages intermingled in documents 
and applications, and bound together with epoxy that uses namespaces as a 
catalyzing agent.

cheers,
David

[Non-text portions of this message have been removed]



-----
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/
 

Reply via email to