15 seconds? i only wait about 1-3 at the most before redirecting, but then again im extremely impatient 🙂 i think 90% of users would just hit the back button < 5-10ish seconds..
but the above code will work:
syntax:
<meta http-equiv=Refresh content="delay;URL=url">
or have some fun:
// js is always fun
<script>
function cd()
{
if(document.a.b.value<2) {
document.a.b.value="Now!";
location="index.php";
}else{
setTimeout("cd()",1000);
document.a.b.value--;
}
}
</script>
<body onLoad="cd();">
<form name="a">Seconds Until Redirection:
<input type=text style="border:none" onFocus="this.blur()" name="b" value="5">
</form>