Ver Mensaje Individual
  #1 (permalink)  
Antiguo 13/02/2009, 14:00
terexita86
 
Fecha de Ingreso: diciembre-2007
Mensajes: 137
Antigüedad: 16 años, 4 meses
Puntos: 2
abrir pagina web con lightbox

hola =)
le cuento estoy utilizando lightbox para abrir swf a traves de mi pagina web que tambien esta hecha en flash

el boton que llama el efecto de lightbox tiene el sgte codigo

getURL("javascript:SWFDelegate('images/mi.swf,'550','400','Strongbad: Coloring'

en mi html tengo el sgte script

<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>


mi idea es poder abrir una web en vez de un swf.
Agradeceria monton su ayuda

xau