Lightbox form not popping up full size

  • Profile Image
    innercityskylineinc
    Asked on December 20, 2016 at 04: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?

  • Profile Image
    david
    Answered on December 20, 2016 at 04:18 PM

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

    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.

  • Profile Image
    innercityskylineinc
    Answered on December 20, 2016 at 05: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. 

  • Profile Image
    innercityskylineinc
    Answered on December 20, 2016 at 05:11 PM

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

  • Profile Image
    david
    Answered on December 20, 2016 at 06:18 PM

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