A special Count down clock script
Is there any script to count down at a particular date so that when the particular date is reached it restart counting to another date automatically.
I don't know of anything specifically like that, but it would be easy to make. Just set the relevant date for the counter with an if statement, checking each of the dates you have to see if it has passed.
Or do you need this to happen during a single instance of the page? Count down, then reset, count down again, repeat? That would require adding a function to the end of it to restart it. Or you could just refresh the page when it finishes, if that could do what you want.
Daniel - Freelance Web Design | <?php?> | <html>| Deutsch | italiano | espa˝ol | portuguŕs | catalÓ | un peu de franšais | Ninasoma Kiswahili | 日本語の学生でした。| درست العربية
There's always jQuery Countdown:
It can be configured to do just about anything you want including launching a new countdown once the original one has expired.
I suspect one of these can be used.
ok thanks for your replies.
Here is what i meant.
I have 2 events scheduled twice a week. One on wednesday and the second on saturday.
If i have a date say:
Next event date: Wednesday, May 16 2012 11:00 PM GMT-5
and on wednesday, the date will automatically switch to:
Next event date: Saturday, May 19 2012 11:00 PM GMT-5
and so on.
Wouldn't you want to do this in a Server Side script rather than Client Side? It would be better to do it pre-compile rather than after/as the page has loaded.