Thanks for your replies.
I want to kiss (http://en.wikipedia.org/wiki/KISS_principle), so I
searched and found the onload() method which makes my circle bigger
from the start on ;)

<?xml version="1.0"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN"
  "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd";>
<svg version="1.1" xmlns="http://www.w3.org/2000/svg"; onload="start(evt)" >
  <script type="text/ecmascript">
  <![CDATA[
    var GLOBAL=40;
    function start(evt) {
      var round = document.getElementById("myobject");
      round.setAttributeNS(null, 'r', GLOBAL);
    }
  ]]>
  </script>
  <circle cx="75" cy="75" r="4" fill="blue" id="myobject" />
</svg>

Will this file only be viewable in a browser (like Firefox or Opera)
or will it be more portable?
Any hints in this direction are very welcome!

Is it possible to set the value of GLOBAL in the rendered SVG or or do
I have to change it in the "source code"?

I looked at the link [1] you gave, Manfred, but it is far beyond my
level. Can you give an easier example (like mine above) showing the
use with SVG?

Thank you all,
Thomas

------------------------------------

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