F.eks.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title>Tæl ned og videresend</title>
<meta name="keywords" content="søgeord adskilt af komma">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
html,body{height:100%;margin:0px;border:0px;padding:0px;font-family:tahoma,verdana,arial,sans-serif;font-size:small;}
#countHolder{width:100%;border:1px solid red;text-align:center;color:#cc8;font-weight:900;font-size:15px;}
#countShow{width:100%;background:#aaf;position:absolute;left:0;top:0;z-index:-1;font-size:inherit;height:20px;}
#count{color:#ffa;font-weight:900;font-size:inherit;background:#aaf;}
</style>
<script language="javascript" type="text/javascript">
var startTime = actTime = 10;
window.onload = function(){
document.getElementById("count").firstChild.nodeValue = " " + startTime + " ";
setTimeout("updateShow()",1000);
}
function updateShow(){
document.getElementById("count").firstChild.nodeValue = " " + --actTime + " ";
document.getElementById("countShow").style.width = (100*actTime)/startTime + "%";
if(actTime == 0)
setTimeout("location.href='
http://www.domaine.dk/dennaesteside.html'",1000)
else
setTimeout("updateShow()",1000);
}
</script>
</head>
<body>
<div id="countHolder">
<div id="countShow"> </div>
Du har<span id="count"> </span>sekunder tilbage</div>
</body>
</html>