View Full Version : Countdown that repeats

Feb 16th, 2005, 12:55 PM
Hi there,

I have looked every at every coner of the web, but cant find it anywhere.

So I have come here for anybodys help.

I want to count down script that repeats. when it hits 0

I have found one on the front page of http://www.globat.com

I want it to work the same.

it basicly counts down for 24 hours then repeats.

I think it uses php to get server time and then javascript to count down.

I would love it if some Genius could help me out here.

Cheers Coding champs!

J :thumbsup:

Feb 16th, 2005, 03:14 PM
Here is a script that should get you started:

<script language="javascript">
var countdownValue='10';
var countdownValue2='10';

function countdownScript()
var showCountdown=document.getElementById('countdown');
Timer=setTimeout("countdownScript();", 1000);
<span id="countdown" style="position:absolute;top:10;left:20"></span>
<script language="javascript">

Willy Duitt
Feb 16th, 2005, 04:19 PM
Try searching the forums, I once posted a variable reoccurring countdown timer script that allows you to choose a start date and time to begin counting and how many days or weeks to countdown before it resets itself and begins the countdown again... Not sure if it is what you are looking for tho, and if you are only wishing to countdown a 24 hour period, I'm not sure how it will work for that since it was orginally designed to countdown 7 day periods...


Feb 17th, 2005, 02:23 AM
Thank you so much guys for your help the world is a better place because of people like you guys and other people on this forum that help others out. thats choice! :thumbsup:

Ammm I have realised that my quest was more of a php thing. so I have started a thread over there.


Cheers Champs.