The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Can Lightbox Plus work with Ajax? (1 post)

  1. AntonyC
    Posted 5 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,

Topic Closed

This topic has been closed to new replies.

About this Topic