Black Friday Sale! Get up to $40 off GP Premium!Learn more

[Support request] If I use this button code GP´s menu doesn´t work. Any help?

Home Forums Support If I use this button code GP´s menu doesn´t work. Any help?

  • This topic has 1 reply, 2 voices, and was last updated 3 years ago by Tom.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #422251
    Daniel

    Hi there,

    For a while, I’ve been using Elementor Pro and GP premium for developing my web, I think that for people like me who doesn´t know anything about codding it’s fine. But recently i´ve found a issue, if I use the code below the menu in that page doesn´t work in desktop or mobile.

    <script src="https://form.jotformeu.com/static/feedback2.js" type="text/javascript">
     window.openForm_73152911002341 = function() {
     new JotformFeedback({
     formId:'73152911002341',
     base:'https://form.jotformeu.com/',
     windowTitle:'Button Test',
     background: '#7ed321', fontColor: '#FFFFFF', type: '1', height: 600, width: 350,
     openOnLoad:true
    });
     }
    </script>
    
    <div class="btn lightbox-73152911002341" style="
    display: inline-block;
    color:#444;
    border:1px solid #CCC;
    background:#DDD;
    box-shadow: 0 0 5px -1px rgba(0,0,0,0.2);
    cursor:pointer;
    vertical-align:middle;
    max-width: 160px;
    padding: 5px;
    text-align: center;
    " onclick="openForm_73152911002341()"> TEST </div>

    It´s a button that opens a lightbox with a form, I can use just the form, but the lightbox is much better and easier for users. Is there anything I can do?

    Thank you.

    GP Premium 1.5.2
    #422473
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    That usually means there’s a javascript error.

    Is the code added right now? If not, can you add it and then right click + Inspect (in Chrome). Check the Console tab for any red JS errors.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.