WordPress.org

Forums

WP jQuery Lightbox
[resolved] reload code please (3 posts)

  1. yupimrich
    Member
    Posted 2 years ago #

    Hi,
    I am using an ajax page loader which requires me to reload js code in order for plugins to work.
    I need the code to reload this plugin
    ie
    jQuery.get('/wp-content/plugins/contact-form-7/scripts.js', function(data) { eval(data); });
    more info here

    This should be simple, I'm just not seeing any straightforward code to do this with. Any help would be greatly appreciated.

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

  2. ulfben
    Member
    Plugin Author

    Posted 2 years ago #

    if(typeof doLightBox !== 'undefined' && typeof jQuery !== 'undefined'){
       doLightBox();
    }
  3. yupimrich
    Member
    Posted 2 years ago #

    Hey ulfben, thanks for the quick response!

    This code isn't working for me though. Any ideas?

    Here is the site
    atsounds.com

    Thanks~

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WP jQuery Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.