Ver Mensaje Individual
  #3 (permalink)  
Antiguo 10/03/2010, 19:39
Avatar de ElJavista
ElJavista
Colaborador
 
Fecha de Ingreso: marzo-2007
Ubicación: Lima Perú
Mensajes: 2.231
Antigüedad: 17 años, 2 meses
Puntos: 67
Respuesta: setTimeout - sólo esperar

A ver, solo tienes que usar setTimeout como lo haz puesto en el título.

Código:
function reload() {
   window.setTimeout("goURL()", 2000); // retardo de 2000 milisegundos o sea 2 segundos
}

function goURL() {
  window.location.href = 'photos.php';
}