Ver Mensaje Individual
  #3 (permalink)  
Antiguo 28/03/2006, 16:14
Avatar de eeeee
eeeee
 
Fecha de Ingreso: febrero-2004
Ubicación: Almería
Mensajes: 397
Antigüedad: 20 años, 2 meses
Puntos: 0
Hola Caricatos:
Pues no funciona, no hace nada lo puse así:

if (b.substr(b.length - 4) == "big"){
document.getElementById('ima').className = "imgbig";
}
por si te sirve de algo, el script empieza así:
aa=cual.split("_")
a = aa[aa.length-1]
b = a.split(".")[0].toLowerCase()

Y despues las anteriores 2 lineas.

Salu2

Rectifico... Puse
if (b.substr(b.length - 3) == "big") y funciona.
Gracias caricatos
__________________
Eusol .............
aprendiendo de ustedes
________________________

http://www.alicun.com