By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,385 Members | 1,767 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,385 IT Pros & Developers. It's quick & easy.

Could someone help me start on writing a countdown timer?

P: 44
Hi
I am making a test taker. I need to put up a countdown timer, and I haven't a clue how. Could someone please help me start. I google it and all I see is readymade scripts that can be downloaded. I'd like to write the code myself. I dont understand how I can get it to count down all by itself.
Thanks,
Hanaa
Jul 3 '08 #1
Share this Question
Share on Google+
4 Replies


10K+
P: 13,264
If you are not sure where to start, then you could start by reading and trying to understand the scripts that others have already written for it.

P.S I would use Javascript for these kinds of things.
Jul 3 '08 #2

hsriat
Expert 100+
P: 1,654
And the links that might help you for the same are:
setTimeout()
innerHTML
Jul 3 '08 #3

P: 44
Thanks for those. And I'll try using javascript.
Jul 4 '08 #4

acoder
Expert Mod 15k+
P: 16,027
Also look at the setInterval method (as a alternative to setTimeout).
Jul 4 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.