WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
[resolved] WP-JQuery-Lightbox Doesn't Work For Me (4 posts)

  1. urban_mire
    Member
    Posted 1 year ago #

    Hi there, in my web site which is located in http://mavenport.net i'm trying to use WP-JQuery-Lightbox plugin with rel="lightbox" code, but the lightbox doesn't load and it takes me to the image directly. I ran JS error scan but couldn't find anything. I think it's about AJAX that my theme is using to load the portfolio items in the front page. Is there a way to make this plugin work in this website? I'm desperate.

    PS: Also this plugin worked couple of months ago but then suddenly stopped working.

    http://wordpress.org/extend/plugins/wp-jquery-lightbox/

  2. urban_mire
    Member
    Posted 1 year ago #

    PS: Also the plugin works in seperate portfolio entries, like this: http://mavenport.net/?portfolio=battlestar-galactica-poster (click the "sources" button to see the lightbox) but it doesn't work when ajax loads the website in the homepage.

  3. ulfben
    Member
    Plugin Author

    Posted 1 year ago #

    If you're loading images after the page load (eg: AJAX), you must manually run doLightBox() whenever your HTML content arrives.

  4. urban_mire
    Member
    Posted 1 year ago #

    That solved my problem :) Thank you so much.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic