Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/11/2008, 10:19
Avatar de Mono-R
Mono-R
 
Fecha de Ingreso: abril-2006
Ubicación: Bs. As. Argentina
Mensajes: 155
Antigüedad: 18 años
Puntos: 1
Pregunta Abrir LightWindow desde botón Flash!

Hola gente ...
Estoy usando en un sitio en desarrolló, el LightWindow, todo bien, el tema es que no se como hacer para abrirlo des de un botón flash.
Con el LightBox lo pude hacer, ya que en la red hay info respecto. Haciendo esto:

Código:
<head>

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


</head>

Boton flash:

Código:
on (release) {
     getURL("javascript:LightboxDelegate('fotos/imagen1.jpg','Titulo de la imagen)");
}

Para el LightWindow e visto en su sitio, que se puede generar un llamado asi:

Código:
myLightWindow.activateWindow({
	href: 'http://stickmanlabs.com/images/kevin_vegas.jpg', 
	title: 'Waiting for the show to start in Las Vegas', 
	author: 'Jazzmatt', 
	caption: 'Mmmmmm Margaritas! And yes, this is me...', 
	left: 300
});"

Pero la verdad es que no se como implementarlo en el botón flash!!!
Y si debo agregar algo en el HTML…
Si alguien me puede ayudar agradecido!!!


Saludos!
__________________
:-) ... cuanto más intento aprender descubro lo poco que se ... :pensando: