Page 1 of 1

Count down before redirect

Posted: Mon Mar 07, 2011 7:08 am
by bigjoe11a
I have a small javascript that will redirect after some many sec's. It's just I wanted some thing that will show sec's before it redirects. Like a count down timer.

Code: Select all

<html>
<head>
<script type="text/javascript">
<!--
function delayer(){
    window.location = "http://www.proforums.freehostingcloud.com"
}
//-->
</script>
</head>
<body onLoad="setTimeout('delayer()', 5000)">
<h2 >Prepare to be redirected!</h2>
<p>This page is a time delay redirect, please update your bookmarks to our new 
location!</p>

</body>
</html>