Forum Moderators: open

Message Too Old, No Replies

javascript countdown remote ajax script?

javascript countdown remote ajax script

         

uniaxaj

5:10 pm on Mar 29, 2008 (gmt 0)

10+ Year Member



Hello

Could some one please tell or give me the code for my use.
Basically i need a countdown script which has to countdown from 3 days(may vary) showing days hours minutes etc.

problems are 1) cant take local system time as it maybe incorrect.
2) not server time also as i dont want a server side extension my pages shud be .html

so basically i want is script which takes time from a remote server store it and countdown.

the countdown shud nt reset in each refresh it shud continue to countdown 3 days everytime and then display a message

DrDoc

3:55 am on Apr 8, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Although you specifically said you didn't want to use the server time, that is indeed the best approach. And, there is no need to move away from
.html
as you can either:
1) do a URL rewrite for this page to a script
2) add
.html
as another extension used by PHP/ASP/etc.

This will provide the most reliable and simple approach for you.