Countdown to a date (Days/Hours/Mins/Secs remaining etc)

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Countdown to a date (Days/Hours/Mins/Secs remaining etc)
thfc_dc
CZ Super Newbie
thfc_dc has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: May 14, 2004
0.01 posts per day
Posts: 38
Points: 1,752
 Yahoo Messenger  
I don't know if this would come under scripts but I guess I'll try it here... I want to put a countdown on a page to a particular date (in August) with like the days (and preferably hours/mins/secs too) counting down on the page. Just wondering how I'd go about doing it. Thanks.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#2   
Gareth
CZ Addict
 Codezwiz Site Donator
Gareth has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student, Webmaster
Gender: Male
Fav. Sports Team: Liverpool FC
Status: Offline
Joined: May 29, 2004
0.08 posts per day
Posts: 587
Points: 38,220
   
Hi, i recently posted a countdown script here:
[ Register or login to view links on this board. ]

HOWEVER, it only calculates days, I couldn't work out how to do other stuff, sorry

Gareth




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#3   
pnclthnmstsh
CZ Active Member
pnclthnmstsh has been a member for over 20 year's 20 Year Member
usa.gif nevada.gif
Age: 53
Gender: Male
Website:
Status: Offline
Joined: Sep 17, 2004
0.04 posts per day
Posts: 267
Points: 13,641
   
There is a mod I have installed called Advanced Countdown. Not sure where I got it. But its nice.




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#4   re: Countdown to a date (Days/Hours/Mins/Secs remaining etc)
echo
CZ Wiz
 Codezwiz Site Donator
Gender: Male
Status: Offline
Joined: Oct 04, 2003
0.15 posts per day
Posts: 1147
Points: 93
   
Here's a basic javascript that you can customize.

<applet code="countdown.class" CODEBASE="http://www.YOURSITE.com/java-sys" width="203" height="21">
      <param name="font" value="lcdb0">
      <param name="year" value=2005>
      <param name="month" value=1>
      <param name="day" value=16>
      <param name="hour" value=0>
      <param name="timezone" value="-0">
      <param name="timezone" value="-8">
</applet>


<param name="year" value=2005> <<< Set the year.
<param name="month" value=1> <<< Set the month. (Jan. shown)
<param name="day" value=16> <<< Set the day. (16th shown)
<param name="hour" value=0> <<< Leave this as is.
<param name="timezone" value="-8"> <<< This is the GMT timezone. (GMT+ OR GMT-)

There are thousands of these scripts out there, just do a google search. Here's a link to some good scripts: [ Register or login to view links on this board. ]


Back to top Reply with quote
#5   re: Countdown to a date (Days/Hours/Mins/Secs remaining etc)
thfc_dc
CZ Super Newbie
thfc_dc has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: May 14, 2004
0.01 posts per day
Posts: 38
Points: 1,752
 Yahoo Messenger  
Sorted... Thanks guys




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
#6   re: Countdown to a date (Days/Hours/Mins/Secs remaining etc)
thfc_dc
CZ Super Newbie
thfc_dc has been a member for over 20 year's 20 Year Member
uk.gif
Occupation: Student
Age: 36
Gender: Male
Website:
Status: Offline
Joined: May 14, 2004
0.01 posts per day
Posts: 38
Points: 1,752
 Yahoo Messenger  
By the way Gareth, or anyone else, I used the code at [ Register or login to view links on this board. ]




_________________
[ Register or login to view links on this board.]
Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum