Ver Mensaje Individual
  #3 (permalink)  
Antiguo 27/11/2005, 04:19
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 Blashete

Prueba esto:
Código PHP:
<html>
<
head>
<
script type="text/javascript">
seg=10;
function 
contar() {
  
seg--
  if (
seg==0)
    
location='pagina2.html';
  
document.getElementById('segu').innerHTML=seg;
}
</script>
</head>
<body onload="setInterval('contar()',1000)">
<p>Serás redirigido a otra página en <span id="segu">10</span> segundos</p>
<a href="pagina2.html">Ir rápido</a>
</body>
</html> 
Saludos,