• Lightbox Plus Colorbox does work on images, but I can’t get it to work on a form in an inline lightbox. My form is set up with this code in the footer:

    <div style="display:none">
       <div id="lbp-inline-href-1" style="padding:10px; background:white">
          <p>Contact Us</p>
          <?php echo do_shortcode('[formidable id=2]'); ?>
       </div>
    </div>

    I use a javacript to insert the trigger class into a link on the navbar:

    jQuery(document).ready(function($){
       $('li.contact-us a').addClass('lbp-inline-link-1');
    });

    But the form does not pop up as expected. Firebug confirms that all is correct in the source.
    You can see the dev server here: http://rd.llewellyncreative-wpdev.com
    Its the Contact link on the navbar that is supposed to launch the form in the lightbox. Anyone?

    https://ww.wp.xz.cn/plugins/lightbox-plus/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter photocurio

    (@photocurio)

    I’ve decided to use a different script for this project, so the above link is no longer showing an issue with Lightbox Plus.

    But I’d still be interested in knowing how to do this with Lightbox Plus if anyone has a clue..

    Hi photocurio.
    I’d be interested in knowing which other script you used for your project.
    I am having an issue with all of the lightbox/fancybox plugins, in that none of them work with imagemap area tags. Maybe the script you have used does?

    Thanks in advance.

    Thread Starter photocurio

    (@photocurio)

    I used jQuery UI, which is built in to WordPress. I have it working, sort of, but it requires a lot of CSS overrides to get it to work similar to Lightbox.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘I can't trigger an inline lightbox’ is closed to new replies.