On Thu, 20 Jul 2006 21:01:36 +0200, James C. Deering
<[EMAIL PROTECTED]> wrote:
Hi James,
you're not using setAttributeNS in the example, but I had a play with it
and it works fine in Opera 9. I shifted the order of the groups so you see
the effect (in your snippet logo was on top of design1 so would never be
seen.
cheers
Chaals
> Unfortunatly there is no working example of the setAttributeNS in
> action. Try as I might I
> can not figure out how to get the rough below snippet to not error (I'm
> more on the visual
> rather then coding side). Does anyone have a pointer to an example of
> the correct way to
> change the attributeName? If not, does anyone have a minute to give a
> quick written
> example. If I see it I can understand it.
<svg width="100%" height="100%" viewBox="0 0 612 792"
xmlns="http://www.w3.org/2000/svg"
xmlns:xlink="http://www.w3.org/1999/xlink">
<defs>
<set xlink:href="#design1" attributeName="visibility" to="visible"
begin="logo.click"/>
</defs>
<rect id="layout" fill="#EAE3C6" x="0" y="0" width="612" height="792">
</rect>
<g id="logo">
<rect id="button" fill="#640000" x="0" y="0" width="400" height="200">
</rect>
</g>
<g id="design1" visibility="hidden">
<rect id="button" fill="#EAE3C6" x="0" y="0" width="400" height="200">
</rect>
</g>
</svg>
--
Charles McCathieNevile, Opera Software: Standards Group
hablo español - je parle français - jeg lærer norsk
[EMAIL PROTECTED] Try Opera 9 now! http://opera.com
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/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/