Thats for the example. I figured out why my code is not changing the
drawing, but not yet how to fix it.
If I statically include SVG elements inside my inner svg tag, the
setAttribute('viewBox', newBox) call works, in that it is reflected in
the drawing. If I parseURL() some new elements into the inner svg tag
using ajax, they show up in the drawing, but when I change the viewBox
attribute, no redraw occurs on the drawing. Susequent getAttribute()
calls reflect the changed viewBox value!
Must I trigger some sort of redraw event on the viewer? I am investigating.
Martin Honnen wrote:
> --- In [email protected]
> <mailto:svg-developers%40yahoogroups.com>, Darryl Watson <[EMAIL PROTECTED]>
> wrote:
>
> > 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.
>
> Here is a simple example changing the viewBox attribute of an SVG svg
> element that works for me with Firefox 1.5 and Opera 9.0 with native
> SVG support and with IE 6 and Adobe SVG viewer 3:
> <http://home.arcor.de/martin.honnen/svg/test2006070101.svg
> <http://home.arcor.de/martin.honnen/svg/test2006070101.svg>>
>
> If you still have problems then post a URL where the problem occurs.
>
> New Message Search
>
> Find the message you want faster. Visit your group to try out the
> improved message search.
>
> Share feedback on the new changes to Groups
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJtbmI0bmhnBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTI5ODQyMQRncnBzcElkAzE2MDEwMzAzODkEc2VjA25jbW9kBHNsawNmZGJjawRzdGltZQMxMTUxNzYwNzc3;_ylg=1/SIG=11im36rmb/**http%3a//surveylink.yahoo.com/wix/p1412899.aspx>
>
> Recent Activity
>
> *
> 19
> New Members
>
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJmdTlnY2ZwBF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwN2dGwEc2xrA3ZtYnJzBHN0aW1lAzExNTE3NjA3Nzg-;_ylg=1/SIG=11pn6kb53/**http%3a//groups.yahoo.com/group/svg-developers/members>
>
> Visit Your Group
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJlbzdscXU4BF9TAzk3MzU5NzE0BGdycElkAzEyOTg0MjEEZ3Jwc3BJZAMxNjAxMDMwMzg5BHNlYwN2dGwEc2xrA3ZnaHAEc3RpbWUDMTE1MTc2MDc3OA--;_ylg=1/SIG=11hnfu9rs/**http%3a//groups.yahoo.com/group/svg-developers>
>
>
> SPONSORED LINKS
>
> * Xml format
>
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJjOG80M2JnBF9TAzk3MzU5NzE0BF9wAzEEZ3JwSWQDMTI5ODQyMQRncnBzcElkAzE2MDEwMzAzODkEc2VjA3NsbW9kBHN0aW1lAzExNTE3NjA3ODA-;_ylg=1/SIG=14rof4nnl/**http%3a//groups.yahoo.com/gads%3ft=ms%26k=Xml%2bformat%26w1=Xml%2bformat%26w2=Svg%26w3=Format%26w4=Data%26c=4%26s=47%26g=2%26.sig=GvgD8Y5SphRGO_F7jgeuDw>
> * Svg
>
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJjMjBzb2ZzBF9TAzk3MzU5NzE0BF9wAzIEZ3JwSWQDMTI5ODQyMQRncnBzcElkAzE2MDEwMzAzODkEc2VjA3NsbW9kBHN0aW1lAzExNTE3NjA3ODA-;_ylg=1/SIG=14iqk93f8/**http%3a//groups.yahoo.com/gads%3ft=ms%26k=Svg%26w1=Xml%2bformat%26w2=Svg%26w3=Format%26w4=Data%26c=4%26s=47%26g=2%26.sig=cW-tUs_h50WDLz8heUCz9g>
> * Format
>
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJjMGcyN3ZkBF9TAzk3MzU5NzE0BF9wAzMEZ3JwSWQDMTI5ODQyMQRncnBzcElkAzE2MDEwMzAzODkEc2VjA3NsbW9kBHN0aW1lAzExNTE3NjA3ODA-;_ylg=1/SIG=14lgkav4l/**http%3a//groups.yahoo.com/gads%3ft=ms%26k=Format%26w1=Xml%2bformat%26w2=Svg%26w3=Format%26w4=Data%26c=4%26s=47%26g=2%26.sig=GE_MjDby0ZfT7G82rET2qw>
> * Data
>
> <http://us.lrd.yahoo.com/_ylc=X3oDMTJjbHVjMnM3BF9TAzk3MzU5NzE0BF9wAzQEZ3JwSWQDMTI5ODQyMQRncnBzcElkAzE2MDEwMzAzODkEc2VjA3NsbW9kBHN0aW1lAzExNTE3NjA3ODA-;_ylg=1/SIG=14jh62pr4/**http%3a//groups.yahoo.com/gads%3ft=ms%26k=Data%26w1=Xml%2bformat%26w2=Svg%26w3=Format%26w4=Data%26c=4%26s=47%26g=2%26.sig=E0beEwl0c685OBcrR2FLnw>
>
> .
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Check out the new improvements in Yahoo! Groups email.
http://us.click.yahoo.com/6pRQfA/fOaOAA/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/