search for: initlightbox

Displaying 2 results from an estimated 2 matches for "initlightbox".

2006 Dec 17
0
Using initLightbox()
Hi all I need some help on this one: I have a webpage that writes a jpeg into a div when you click on a thumbnail using javascript. I wanted to display an even bigger version of that jpeg if you click on it so I integrated the Lightbox script (uses prototype.js and scriptaculous.js) If I place initLightbox() into the body onload= then the first thumbnail clicked will write the larger jpeg into the <div> and clicking on that will launch the Lightbox script. Once you close the Lightbox overlay though none of the jpegs written into the div will work under lightbox (they default to a standard (a h...
2006 May 28
14
Lightbox and RJS
Hi, I am trying to include lightbox functionality in my app, but there is a slight complication. Apparently lightbox initializes all the links to lightbox events on page load. However, in my case, some new links to lightbox events will be rendered to the page through ajax events (obviously this means after the page loads). So I figure I need to find a way to call lightbox''s