Hi, all!
I have problem with code in Firefox
|--------------------------------------------------------------|
circlezoom.html
<html>
  <body>
     <embed src="html-to-svg.svg"
            width="200"
            height="200"
            type="image/svg+xml"></embed>
     <noembed>Appropriate text fallback</noembed>
     <form name="inputform">
<select size="1"
onChange="window.zoomer(this.options[this.selectedIndex].value)">
<option value="1" selected>100%</option>
<option value="2">200%</option>
<option value="3">300%</option>
<option value="4">400%</option>
</select>
     </form>
  </body>
</html>  
|--------------------------------------------------------------|
<svg height="200" width="200" onload="Initialize(evt)"
xmlns="http://www.w3.org/2000/svg";>
  <script type="text/ecmascript">
  <![CDATA[
    SVGDocument = null;
    top.zoomer = zoomer; 

   function Initialize(LoadEvent){
      var circle = evt.target;
      var currentRadius = circle.getAttribute("r");

      SVGDocument = LoadEvent.target.ownerDocument
   }
   function zoomer(zoom)
   {
  
SVGDocument.getElementById("zoomCircle").setAttribute("stroke-width",
zoom*3);
   }
  ]]>
  </script>

  <circle id="zoomCircle" cx="100" cy="100" r="20" fill="red"
stroke="blue" stroke-width="3"/>
</svg>

Help me please??????








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

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