Ver Mensaje Individual
  #9 (permalink)  
Antiguo 15/11/2010, 09:13
juan_mp45
 
Fecha de Ingreso: noviembre-2010
Mensajes: 2
Antigüedad: 13 años, 5 meses
Puntos: 0
Respuesta: Problema con Sexy LightBox 2(mod Lightbox) con flash

Hola mi nombre es juan carlos soy nuevo en el foro y estado testeando Sexylighbox con flash use sus consejos al pie de la letra y funciona correctamente, el problema viene cuando quiero agregar mas de una imagen, normalmente para agregar varios elementos como una galeria de imagenes se agrega la instruccion "rel=[grupo1]" a cada elemento que se decea agregar, pero no se como se pueda lograr esto desde flash

imagino que eriaalgo haci como:

<script type="text/javascript">
function SWFDelegate(url,width,height,caption) {
var objLink = document.createElement('a');
objLink.setAttribute('href',url);
objLink.setAttribute('rel','lightbox');
objLink.setAttribute('title',caption);
if(typeof width != 'undefined') {
objLink.setAttribute('width',width);
}
if(typeof height != 'undefined') {
objLink.setAttribute('height',height);
}
Lightbox.prototype.start(objLink);
}
</script>


getURL("javascript:SWFDelegate('images/sbemail.swf','550','400');");

tambien me gustaria agregar poder html, iframes y videos, les agradesco su tiempo y espero sus comentarios