Ver Mensaje Individual
  #5 (permalink)  
Antiguo 01/05/2005, 08:53
Avatar de JavierB
JavierB
Colaborador
 
Fecha de Ingreso: febrero-2002
Ubicación: Madrid
Mensajes: 25.052
Antigüedad: 22 años, 2 meses
Puntos: 772
Hola de nuevo.

Te había entendido mal. Solo hay que hacer unos cambios al código:
Código PHP:
<html>
<
head>
<
script>
  
fec=new Date();
  
fec.getHours();
  
location = (h>&& h<20) ? 'dia.html' 'noche.html';
</script>
</head>
<body>
</body>
</html> 
Saludos,