Ver Mensaje Individual
  #2 (permalink)  
Antiguo 06/04/2005, 12:34
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 23 años
Puntos: 772
Hola wolf777

Se me ocurre que puedes hacer algo así:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
var 
num=10;
function 
contador() {
  
num--;
  if(
num==0location='_dos.html';
  
document.getElementById('seg').innerHTML=num;
}
</script>
</head>
<body onload="setInterval('contador()',1000)">
<p>Redirección en <span id="seg">10</span> segundos.</p>
</form>
</body>
</html> 
Saludos,