WordPress.org

Forums

Can Lightbox Plus work with Ajax? (1 post)

  1. AntonyC
    Member
    Posted 3 years 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

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags