Log in

View Full Version : countdown timer



hariprasad
01-13-2007, 02:44 AM
i got html code for countdown timer but i want to add a text message after countdown finishes
will we able do that by editing this code.

<head>
<meta http-equiv="refresh" content="5;URL=http://yoururl.com">
</head>

djr33
01-13-2007, 03:03 AM
Hmm... the countdown is 5 seconds?

Considering you are using Javascript anyway, might as well use "if (*complete*) window.location = 'nextpage....';"

Note that complete is the condition at which it redirects.

Using a meta tag won't relate to the javascript so it that gets slow or starts late, it won't be synchronized.