Is there a way to add a countdown timer to a web?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to add a timer that countdowns and then continues to count (up)
after an exact date. Is this possible? If so, what's the code?
 
I am not quite sure what you mean by continues to count up after an exact
date.

Here is a countdown timer which starts at 100 and counts down continually.
Modify as you wish

<html>
<head>
<title></title>
<script type="text/javascript">
var start = 100
function Timer()
{document.getElementById("clock").innerHTML = start
start -= 1}
function gettime()
{ setInterval("Timer()",1000) }
</script>
</head>
<body onload = "gettime()">
<span id="clock"></span>
</body>
</html>

--
Cheers,
Trevor L.
Website: http://tandcl.homemail.com.au


I choose Polesoft Lockspam to fight spam, and you?
http://www.polesoft.com/refer.html
 
Back
Top