This document is divided into two sections; One for setting up the script with just one timer, and then one for the more experienced who want more than one timer on the same page. Putting ONE timer in a HTML doc: -------------------------------- Copy everything between the lines and place right BEFORE your tag, which should have onLoad="start()" in it, like this: ___________________________________________________________________ ___________________________________________________________________ Then, copy and paste this form into your HTML document anywhere: ___________________________________________________________________
before the event.
___________________________________________________________________ Edit the value="Month Day, Year Hour:Min:Sec" to the date in the form to match your date. See http://www.jracademy.com/~jtucek/count.html for better instructions. Good luck! -OR- For those who feel cunning enough... Putting MORE THAN ONE timer in a HTML doc: ------------------------------------------ Copy everything between the lines and place right BEFORE your tag, which should have onLoad="start()" in it, like this: (Note: This is a slightly different script than the one above, because it has been modified to allow more than one instance to run) ___________________________________________________________________ ___________________________________________________________________ Then, copy and paste this form into your HTML document anywhere: ___________________________________________________________________
before the event.
___________________________________________________________________ Edit the value="Month Day, Year Hour:Min:Sec" to the date in the form to match your date. A second/third timer box requires more forms, just like the above, except named form2 or form3 (pretty straight forward, eh?) If you are using LESS than 3 forms, you will need to remove the redundant calls from the script in the functions start() and repeat(), ie, remove: setup(document.forms["form3"].time2.value,"form3"); from start(), and remove: down("form3"); from repeat() if you are only using 2 forms instead of three. If you wish to use MORE than 3 forms, you'll need to copy and paste the two lines I just told you to delete, and replace all occurences of "form3" with "form4" or "form5", etc. And add the appropriate
etc to your HTML. This is not rocket science!!! ;) If you wish to use EXACTLY 3 forms, then you're in luck, it's all set up to go! See http://www.jracademy.com/~jtucek/count.html for better instructions. Good luck!