sådan?
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"
http://www.w3.org/TR/html4/loose.dtd"><html>
<head>
<title>nedtæller som skal vise links (udført php kode) når den når 0</title>
<script language="JavaScript" type="text/javascript">
links=new Array("etLink","EtMere","AndenSidst","Sidste");
function underTi(Obj){
tal=((Obj<10)?"0"+Obj:Obj);
return (tal);
}
function countDown(nedfra){
if(nedfra>-1){
tael=parseInt(nedfra);
//t=Math.floor(tael/60)+":"+underTi(tael%60);
t=Math.floor(tael);
document.getElementById('sted').innerHTML=t;
tael--;
setTimeout("countDown(tael)",1000);
}
else{
for(i=0;i<links.length;i++){
document.getElementById(links[i]).style.display="inline";
}
}
}
//-->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body onLoad="countDown('2')">
<div align="center" id="sted"> </div>
<a href="#" id="etLink" style="display:none;">link#1</a><br>
<a href="#" id="EtMere" style="display:none;">link#1</a><br>
<a href="#" id="AndenSidst" style="display:none;">link#1</a><br>
<a href="#" id="Sidste" style="display:none;">link#1</a><br>
</body>
</html>