Ver Mensaje Individual
  #9 (permalink)  
Antiguo 05/09/2007, 15:59
Avatar de pzin
pzin
Moderata 😈
 
Fecha de Ingreso: julio-2002
Ubicación: Islas Canarias
Mensajes: 10.488
Antigüedad: 21 años, 7 meses
Puntos: 2114
Re: Help! Acerca Lightbox

Mirando el código, estoy casi seguro que la cosa anda por aquí:
Código:
			
			var relAttribute = String(anchor.getAttribute('rel'));
			
			// use the string.match() method to catch 'lightbox' references in the rel attribute
			if (anchor.getAttribute('href') && (relAttribute.toLowerCase().match('lightbox'))){
				anchor.onclick = function () {myLightbox.start(this); return false;}
			}
		}
Tal vez también se puede hacer que todas las imágenes enlazadas ejecuten "myLightbox.start(this);".