Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/10/2008, 09:27
pipezapata
 
Fecha de Ingreso: octubre-2008
Mensajes: 25
Antigüedad: 15 años, 7 meses
Puntos: 0
por favor Ayuda incompatibilidad safari y opera!!!

tengo este codigo que precarga imagenes me funciona bn en ie y mozilla pero por safari u opera no me funciona, no me muestra las imagenes....

este es el codigo...

foto1 = new Image();
foto2 = new Image();
foto3 = new Image();


url = "http://xxx";

foto1.src = url + "?num="+num();
document.images("Img1").src = foto1.src;

url2 = "http://xxx";
foto2.src= url2 +"?num1="+num();
document.images("imagen").src= foto2.src;

url3 = "http://xxxx";
foto3.src= url3 +"?num1="+num();
document.images("Img2").src= foto3.src;


}


function num() {
var aleatorio
return aleatorio = Math.round(Math.random()*1000);

}

que puedo hacer????????