Count down Clock

  steven_frost 10:31 29 Jul 2004
Locked

Does any one no of a way of adding a clock that counts the time down from X amount of days

  Taran 11:07 29 Jul 2004

click here

click here

click here

click here

These were among the first few links from a Google search using the following search query:

"javascript"+countdown

Hope one of them does the trick.

  Charence 20:30 29 Jul 2004

********Place this between the <head> tags*********

<SCRIPT LANGUAGE="JavaScript">
<!--
function getRemaining() {
today = new Date();
targetdate = new Date("August 19, 2004");
targetdate.setYear(today.getYear());
milliseconds = (24 * 60 * 60 * 1000);
remaining = ((targetdate.getTime() - today.getTime()) / milliseconds);
remaining = Math.round(remaining);
}
// -->
</SCRIPT>

Replace August 19, 2004 with whatever date you want the countdown to end, in same format.

*********Place this code where you want countdown to appear**********

<SCRIPT LANGUAGE="JavaScript">
<!--
getRemaining();
document.write("There are ",remaining," days left before results day!");
// -->
</SCRIPT>

******************************

Charence

  steven_frost 20:40 29 Jul 2004

none of it seems to work i am using FP 2002 if that makes any help

  steven_frost 20:43 29 Jul 2004

none of it seems to work i am using FP 2002 if that makes any help

  steven_frost 20:44 29 Jul 2004

none of it seems to work i am using FP 2002 if that makes any help

  Charence 23:07 29 Jul 2004

Try saving it, then viewing it in IE not FP.

This thread is now locked and can not be replied to.

Elsewhere on IDG sites

Alienware 17 R4 2017 review

Illustrator Sylvain Tegroeg created thousands of intricate line drawings for the mobile game…

Best iPad buying guide 2017

Comment télécharger une application indisponible en France ?