Tema: Parece Facil
Ver Mensaje Individual
  #1 (permalink)  
Antiguo 10/09/2003, 14:27
Avatar de eduardo_ortega
eduardo_ortega
 
Fecha de Ingreso: junio-2001
Ubicación: Durango,Dgo. México
Mensajes: 282
Antigüedad: 23 años, 3 meses
Puntos: 1
Parece Facil

Tengo este codigo es script funciona perfectamente , es random de imegenes aleatorias

function VecImagenes()
{
n=0;
this[n++]="entorno/ale_1.jpg";
this[n++]="entorno/ale_2.jpg";
this[n++]="entorno/ale_3.jpg"
this[n++]="entorno/ale_4.jpg";
this[n++]="entorno/ale_5.jpg";
this[n++]="entorno/ale_6.jpg"
this[n++]="entorno/ale_7.jpg";
this[n++]="entorno/ale_8.jpg";
this[n++]="entorno/ale_9.jpg"
this[n++]="entorno/ale_9.jpg"
this[n++]="entorno/ale_10.jpg"
this.N=n;
}
var Imagenes=new VecImagenes();
src= Imagenes[ Math.floor(Math.random() * Imagenes.N) ] ;
document.write("<IMG SRC="+src+">");



El problema es el siguiente no admite en el IMG el border=0
No hay manera que funcione, siendo algo tan facil no se que pueda ser.

saludos