Why is my lightbox not displaying properly.

  • rockandsoul
    Asked on October 1, 2014 at 6:49 PM

    Hi,

    When I test the lightbox it works great, but on my site an extra window pops up over the lightbox, blocking it from view. Can you please help?

    Thanks!

    Alan

  • David JotForm Support Manager
    Replied on October 1, 2014 at 9:51 PM

    I see there is a div class="jt-content", you will need to check for it and remove it, or re-embed your form making sure is not embedded in nested divs:

    Why is my lightbox not displaying properly Screenshot 20

  • rockandsoul
    Replied on October 2, 2014 at 12:09 PM

    I don't see that in the code I'm pasting which is:

    <script type="text/javascript" src="//max.jotfor.ms/static/feedback2.js?3.2.3847">// <![CDATA[
    var JFL_42736191442151 = new JotformFeedback({
    formId:'42736191442151',
    base:'http://jotform.us/',
    windowTitle:'DJ Rental Inquiry',
    background:'#FFA500',
    fontColor:'#FFFFFF',
    type:1,
    height:500,
    width:700,
    openOnLoad:false
    });
    // ]]></script>
    <a class="lightbox-42736191442151" style="cursor: pointer; color: blue; text-decoration: underline;">request form</a>

    Also, the code I am pasting comes directly from the jotform site, and when i test it there, it works perfectly.

    Can you help me adjust the code above?

    Thanks!

  • rockandsoul
    Replied on October 2, 2014 at 1:06 PM

    I just created a new one, and that one works. All set. Thanks.

  • David JotForm Support
    Replied on October 2, 2014 at 1:08 PM

    Hi,

    I checked the embed code you used in a test page and the lightbox works but the form does not show up.  The problem was using the lightbox code for one of the forms you had deleted.  Making the new one worked due to using a form that is live.

    Let us know if you have any further questions and we will be happy to help.