Ver Mensaje Individual
  #2 (permalink)  
Antiguo 29/06/2006, 00:59
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 3 meses
Puntos: 772
Hola colettainternet

Prueba esto:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
var 
segun=20;
function 
crono() {
  
segun--;
  
document.getElementById('seg').innerHTML segun;
  if (
segun==0location='_a.html';
}
</script>
</head>
<body onload="setInterval('crono()',1000)">
<p>Redirección en <span id="seg">20</span> segundos</p>
</body>
</html> 
Saludos,