I have a gallery made with lightbox 2 made in a normal matter with thumbnails etc. Now I need to add some HTML via JS into a div of lightbox 2. How do I do that?
First I thought, just do a function and call it with onclick, but lightbox isn't ready then, so I have to wait for it to be ready, how do I do that? Lightbox uses the prototype framework. Is it possible in this way, something like a listener?
Thanks :)