the most I've got right now is an actionscript function sending the url and title to a javascript function called "dude" to try to load the image, but it's not working.
function dude(url,title) {
var imgLink = document.createElement('a');
imgLink.setAttribute("href",url);
imgLink.setAttribute("rel","lightbox");
imgLink.setAttribute("title",title);
Lightbox.prototype.start(imgLink);
}
It's as3, but the actionscript's not my problem, I just need the javascript code to initiate the lightbox function with any image for now, and I can incorporate the correct image later once I figure how how to just start it without clicking a link in html with the right 'rel'.
Bookmarks