RE: [svg-developers] SVG countdown

2008-01-10 Thread Julien Reichel
nal 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 Reic

Re: [svg-developers] SVG countdown

2008-01-10 Thread Erik Dahlström
On Sun, 06 Jan 2008 22:20:21 +0100, Julien Reichel <[EMAIL PROTECTED]> wrote: > Dear all, > > I had to wrote a countdown for a project using SMILE animations, as I > remember an old discussion, may be this is of interest for some of you. > > I think this SVG is correct, but it doesn't display

RE: [svg-developers] SVG countdown

2008-01-06 Thread Julien Reichel
to:[EMAIL PROTECTED] 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] <mail

Re: [svg-developers] SVG countdown

2007-12-09 Thread Charles McCathieNevile
Hi Remi, you could make 10 symbols, and then cycle through them: ... ... (Or something like that. I forget the exact syntax - maybe you have to use a string of set elements. But the code does not grow linearly with the countdown size, which is something...) Note t

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

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