Lightbox form not popping up full size

  • innercityskylineinc
    Asked on December 20, 2016 at 4:10 PM

    Having Similar Problem 

     

     <script src="https://form.jotform.com/static/feedback2.js?3.3.REV" type="text/javascript"> 

     var JFL_51317398958167 = new JotformFeedback({ 

     formId: '51317398958167', 

     base: 'https://form.jotform.com/', 

     windowTitle: 'Patio Quotes', 

     background: '##1b0b0b', 

     fontColor: '#FFFFFF', 

     type: '1', 

     height: 650, 

     width: 800, 

     openOnLoad:false }); 

     </script>

    <script language="JavaScript">

    var delayseconds = 5;

        function pause() {

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

        }

       function whatToDo() {

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

        }

    window.onload = pause;

    </script>

     

    <a id="lightboxdelay" class="lightbox-51317398958167" style="cursor:pointer;color:blue;text-decoration:underline; display:none;">Tenez-moi au courant !</a>

     

    Any suggestions?

  • David JotForm Support
    Replied on December 20, 2016 at 4:18 PM

    I added your code to my test page and the lightbox popped up properly after 5 seconds with the appropriate sizing:

    Lightbox form not popping up full size Image 1 Screenshot 20

    If you wouldn't mind letting us know what specifically is incorrect about the lightbox, we will be happy to help get things adjusted.  Also please include the page the lightbox form is added to so we can see directly what it looks like in the page.

  • innercityskylineinc
    Replied on December 20, 2016 at 5:07 PM

    I am using Serif Webplus and posted it and it didnt work, let me see if i did something stupid on my end. 

  • innercityskylineinc
    Replied on December 20, 2016 at 5:11 PM

    Problem Solved! | Appreciate it, I just had to update the server and yea the code works excellently! 

  • David JotForm Support
    Replied on December 20, 2016 at 6:18 PM

    Glad to hear it!  If there is anything else we can help with, just let us know.