Site logo

Archived topic

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

1 reply · Started by Daniel on November 12, 2017

Viewing posts 1–2 of 2

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.

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.

This archived topic is closed to new replies.