Ver Mensaje Individual
  #8 (permalink)  
Antiguo 22/11/2008, 21:03
Avatar de Panino5001
Panino5001
Me alejo de Omelas
 
Fecha de Ingreso: mayo-2004
Ubicación: -34.637167,-58.462984
Mensajes: 5.148
Antigüedad: 20 años, 8 meses
Puntos: 834
Respuesta: Problema con setTimeout en Firefox

Lo probé así en Firefox y funciona perfectamente:
Código PHP:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<
html xmlns="http://www.w3.org/1999/xhtml">
<
head>
<
meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<
title>Documento sin t&iacute;tulo</title>

</
head>

<
body>
<
div id="x" ><img src="rotate/uno.jpg" width="315" height="210" /> <img src="ADELA/58fb360c453ab902b4a890a7ec0b151ddp-vacaciones.jpg" width="393" height="220" /><img src="ADELA/977954219f9b57750ffbd43dd5a94191dp-clarin.jpg" width="152" height="220" /><img src="ADELA/c5f9ec5a3a4efd63047d6de4b332b2cddp-catalogo-1.jpg" width="309" height="220" /></div>
<
script>
function 
tag(id){return document.getElementById(id);}
function 
pop()
{
i=tag('x').getElementsByTagName('img')[0];
tag('x').removeChild(i);
tag('x').appendChild(i);
c=setTimeout(pop,600);
}
pop();
</script>
</body>
</html> 
Por cierto, buen truco ;)