lightbox interfers with menu

  • Profile Image
    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/

  • Profile Image
    Jeanette
    Answered on April 13, 2015 at 02: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="javascript: OpeniFrameURL('http://www.jotform.us/form/51024642799157');return false;">Link to open my form</a>