Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

custom countdown timer - HTML

Status
Not open for further replies.

GaryKearley

IS-IT--Management
Oct 1, 2003
826
GB
I want to create a countdown timer for a particular date, to use on a website.

I need the timer to be in html, perferably, as the user wants to stick it in as a signature on a particular forum he is a member of.

I want it to look like the Alternative version on this site, ie

It is 83 days, 20 hours, 37 minutes and 15 seconds until May 16, 2005, at 8:00:00 AM

Link to site with example

I know this is probably really simple, but the extent of my html knowledge is making simple websites (personal ones) and I can just about get writing and pictures to display!

It is fine to use the client clock, as this is a UK based forum the guy uses, and everyone should be on UK time.

so really I am thinking some basic counter which will display the results the same as on that linked website...

Thanks

Gary

[COLOR=#FF0000 #000000]" There are very few [/color][COLOR=#FF8000 #000000]problems that cannot [/color][COLOR=#FFFF00 #000000]be solved through a [/color][COLOR=#00FF00 #000000]suitable application of [/color][COLOR=#00FFFF #000000]high explosives "[/color]
 

There is no way that this can be achieved with HTML alone. You will need to use some sort of scripting language, most likely JavaScript. For this reason, you'd need to ask in the JavaScript forum:

forum216

Hope this helps,
Dan

 
Okay Ray. I have found a script which kinda does the right thing, but I need to figure out how to add a time of day to it too, but I'll post in the JavaScript Forum,

Cheers



Gary

[COLOR=#FF0000 #000000]" There are very few [/color][COLOR=#FF8000 #000000]problems that cannot [/color][COLOR=#FFFF00 #000000]be solved through a [/color][COLOR=#00FF00 #000000]suitable application of [/color][COLOR=#00FFFF #000000]high explosives "[/color]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top