Can Lightbox Plus work with Ajax?
-
Hi, Lightbox Plus works fine on my site. However, I have just created a plugin that uses ajax to load images onto the page – these images do not trigger the lightbox when clicked upon (I wrap them in an anchor and set the class to “cboxElement”). I don’t know how Lightbox Plus works (I assume it uses jquery to scan the dom for images onload), so is it possible to add new images to the doc and open them in Lightbox Plus?
Many thanks,
Antony
- The topic ‘Can Lightbox Plus work with Ajax?’ is closed to new replies.