Matthew van Eerde wrote:
Be aware that the HTTP Refresh header is non-standard.
You don't need META-Refresh in JS enabled Browsers.
Not a web guy, so I dunno what the difference really is...
If someone could enlighten me, well that would be peachy.
<html>
<head>
<!-- meta http-equiv="Refresh" content="5;url=test.html" -->
<script>
var cur = 5;
var URL = "test.html"
function start() {
cur--;
window.setTimeout("start();", 1000);
document.getElementById("test").innerHTML = cur;
if(cur == 0) {
window.location.href = URL;
}
}
</script>
</head>
<body onload="start();"><span id="test"></span></body>
</html>