Forums

Can Lightbox Plus work with Ajax? (1 post)

  1. AntonyC
    Member
    Posted 11 months ago #

    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

Reply

You must log in to post.

About this Topic

Tags