I have a gallery made using lightbox 2, made in normal mode with sketches, etc. Now I need to add HTML via JS to the lightbox div 2. How do I do this?
At first I thought, just make a function and name it using onclick, but the lightbox is not ready then, so I have to wait until it is ready, how can I do it? Lightbox uses a prototype structure. Is this possible, something like a listener?
Thanks:)
xotix source share