Is it posible to add a delay to opening of the lightbox jotform?

  • Profile Image
    dosualdocolucci
    Asked on July 17, 2015 at 05:34 PM

    Hi,

    I wonder if there is a way to apply a delay in lightbox format. Only about 3 or 4 seconds after the page loads completely. So the user could quickly see the content before the screen goes dark with the form created in lightbox format

    Is it possible?

    Tks,

    Daniel Colucci

  • Profile Image
    Ben
    Answered on July 17, 2015 at 07:52 PM

    Do try to add this code to your website Daniel:

    <script type="text/javascript" src="//d2g9qbzl5h49rh.cloudfront.net/static/feedback2.js?3.3.7874">

    setTimeout(function()
    {
        var JFL_51906328773664 = new JotformFeedback({
        formId:'51906328773664',
        base:'http://jotformz.com/',
        windowTitle:'QUERO A MELHOR NEGOCIAÇÃO AGORA!',
        background:'#1F5CA5',
        fontColor:'#FFFFFF',
        type:2,
        height:550,
        width:550,
        openOnLoad:true
      });
    }, 3500);

    </script>

    It is practically the same code as you have it currently on your website, but it should start the display process after 3.5 seconds (thought that it would be best to go between the two :) )

    Please do let us know how it goes Daniel, and if you wish to change the timing, just alter the bold part, but remember to copy the entire blue part the first time to your website, instead of the current code.

  • Profile Image
    dosualdocolucci
    Answered on July 20, 2015 at 05:08 PM

    Hi, Ben.

    It really worked!

    Tks,

    Daniel

  • Profile Image
    Ben
    Answered on July 20, 2015 at 05:19 PM

    Great to hear that it worked for you Daniel and I am thankful for updating us.

    Do let us know if you have any further questions or issues and we would be happy to assist with them :)

  • Profile Image
    exodusstudio
    Answered on March 31, 2017 at 01:31 PM

    Hi I'm not sure where to add this info in my codes.  I have created a lightbox that I like but I want it to start a few seconds after the first page loads.  Not sure where to add it.

     

    Thanks

    tony

  • Profile Image
    Jan
    Answered on March 31, 2017 at 02:57 PM

    @exodusstudio

    I created a separate thread for you. Please wait for my reply on this thread: https://www.jotform.com/answers/1108227.

    Thank you.