RE: [svg-developers] SVG countdown

2008-01-10 Thread Julien Reichel
Message- From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Erik Dahlström Sent: 10 January 2008 13:07 To: svg-developers@yahoogroups.com Subject: Re: [svg-developers] SVG countdown On Sun, 06 Jan 2008 22:20:21 +0100, Julien Reichel [EMAIL PROTECTED] wrote

RE: [svg-developers] SVG countdown

2008-01-06 Thread Julien Reichel
] On Behalf Of G. Wade Johnson Sent: 09 December 2007 20:09 To: svg-developers@yahoogroups.com Subject: Re: [svg-developers] SVG countdown On Sun, 09 Dec 2007 17:38:54 - boulle_remi [EMAIL PROTECTED] mailto:rboulle%40free.fr wrote

Re: [svg-developers] SVG countdown

2007-12-09 Thread G. Wade Johnson
On Sun, 09 Dec 2007 17:38:54 - boulle_remi [EMAIL PROTECTED] wrote: 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

Re: [svg-developers] SVG countdown

2007-12-09 Thread Charles McCathieNevile
Hi Remi, you could make 10 symbols, and then cycle through them: defs symbol id=one ... /symbol symbol id=two ... /defs use xl:href=#one ... animate attributeName=xl:href values=#three;#two;#one;#zero begin=0s dur=40s.../ /use use xl:href=#one ... animate attributeName=xl:href

RE: [svg-developers] SVG countdown

2007-10-09 Thread Chris Peto
Hi, Try: var obj = document.getElementById(texte); if(obj obj.firstChild) obj.firstChild.data = time; Regrads, Chris From: svg-developers@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Rémi Boulle Sent: Montag, 8. Oktober 2007 21:32 To: svg-developers@yahoogroups.com

Re: [svg-developers] SVG countdown

2007-10-08 Thread ddailey
Without looking at your code in great detail, Rémi, I see one suspicious problem: document.getElementById(texte).innerHTML = time; the object with id=texte is in your SVG document, hence it has no innerHTML (which only things in HTML would have) instead it is a node with text node inside it: