lightbox interfers with menu

  • michoel72
    Asked on April 13, 2015 at 11:58 AM

    The lightbox form is interfering with my menu. Menu does not appear on hover where the jotform lightbox is available. See here http://rapidmedtests.com/blog/

  • Jeanette JotForm Support
    Replied on April 13, 2015 at 2:36 PM

    It appears that the jquery javascript on your webpage is conflicting with your JotForm lightbox code. 

    There is no straightforward solution to this, an option would be to use a jquery lightbox plugin such as:

     http://www.shadowbox-js.com/ 

    then render the form in an iframe within that.

    Once Shadow box is installed,  this code should work to render your form:
    <script>
    function OpeniFrameURL(url) {
     Shadowbox.open({
     content: url,
     player: "iframe",
     height: 500,
      width:  700,

    });
     
    }
    </script>
     
    Then call it from a link  
     
    <a target="_blank" href="#" onlick="javascriptDISABLED: OpeniFrameURL('http://www.jotform.us/form/51024642799157');return false;">Link to open my form</a>