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
href= mode).

I've tried all sorts of things including Event.observe to try and
reload/relaunch/reinitialise the lightbox() function - nada

Any suggestions as to how I can reinitialise the script?
Bob


--~--~---------~--~----~------------~-------~--~----~
 You received this message because you are subscribed to the Google Groups 
"Ruby on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to