Hi-

I have an SVG file with an inner SVG element with its own coordinate 
system and elements.  I want to change the inner SVG element viewBox or 
translate/scale values in IE and ASV 3.03, but the viewer seems to 
ignore my change attempts.

Example code:

<svg id="outer" viewBox="0 0 500 500" ... >
    <svg id="inner" viewBox="0 0 900 900" ...>
       <rect id=""... />
    </svg>
</svg>

I try to do things like:

var myNode = document.getElementById('inner');
myNode.setAttribute('viewBox', '0 0 1500 1500');      // simulate a zoom 
out, doesn't change the drawing

or

myNode.setAttribute('transform', 'scale(2, 2)');

Neither seems to work, but I don't get errors either.  What am I doing 
wrong?  Thanks!


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Great things are happening at Yahoo! Groups.  See the new email design.
http://us.click.yahoo.com/TISQkA/hOaOAA/yQLSAA/1U_rlB/TM
--------------------------------------------------------------------~-> 

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