Hi,

I wrote a simple SVG countdown. You can read it above.
It is okay from 5s to 0s, but the higher I start, the longer the code
is...
Is there a way, in SVG, to do that much more shorter than defining a
text element for each number ?
Thanks.
Rémi

PS : Here is the code :
<text id="5" x="0" y="240" font-family="Verdana" font-size="55"
fill="red" visibility="hidden">5

 <set attributeName="visibility" attributeType="XML" begin="0s"
dur="1s" to="visible"/>

 </text>

 <text id="4" x="0" y="240" font-family="Verdana" font-size="55"
fill="red" visibility="hidden">4

 <set attributeName="visibility" attributeType="XML" begin="1s"
dur="1s" to="visible"/>

 </text>

 <text id="3" x="0" y="240" font-family="Verdana" font-size="55"
fill="red" visibility="hidden">3

 <set attributeName="visibility" attributeType="XML" begin="2s"
dur="1s" to="visible"/>

 </text>
 and so on to 0s ! :-)



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