What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.

At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.

We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.


  • Profile Image

    Lightbox form does not popup on Firefox or Interent Explorer browser.

    Asked by atlasworldusa1 on October 31, 2014 at 08:18 PM

    I placed the following code at the top of my source code, but it only works in chrome. Please help!

     

    <script src="//max.jotfor.ms/static/feedback2.js?3.2.4207" type="text/javascript">

    var JFL_43028110884147 = new JotformFeedback({

    formId:'43028110884147',

    base:'http://jotform.us/',

    windowTitle:'$5 0ff!',

    background:'#FFA500',

    fontColor:'#FFFFFF',

    type:false,

    height:300,

    width:300,

    });

    </script>

    <a id="lightboxdelay" class="lightbox-43028110884147" style="cursor:pointer;color:blue;text-decoration:underline;display:none;">$5 0ff!</a>

     

    <script language="JavaScript">

    var delayseconds = 5;

        function pause() {

        myTimer = setTimeout('whatToDo()', delayseconds * 1000)

        }

       function whatToDo() {

    document.getElementById('lightboxdelay').click();

        }

    window.onload = pause;

    </script>

    Page URL:
    Atlasworldusa.com

    lightbox form JotForm style source lightbox code script code html tag head tag
  • Profile Image
    JotForm Support

    Answered by jonathan on November 01, 2014 at 04:39 AM

    Hi,

    I was able to reproduced the problem on Firefox and IE browser. But it works on Chrome browser.

    I checked the source code of your website, and I noted an erroneous placement of the lighbox code on the web page.

     

     

    the lightbox script code was unnecessarily placed outside the HTML tag of the web page.

    Please try positioning the code within the HTML, between the <head> tag to be specific.

    After correcting this, check again.

    Inform us if issue is not resolved.

    Thanks.