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

    Is there a way to load the lightbox faster?

    Asked by mcarikn on November 10, 2014 at 03:06 PM
    Is there a way to load the lightbox faster? as soon as the user enters the page?
    Right now it looks like the page is loading first and then the lightbox.
    load lightbox faster auto-load lightbox
  • Profile Image
    JotForm Support

    Answered by KadeJM on November 10, 2014 at 03:14 PM

    I see you wish to speed up the process with which your jotform lightbox loads on your page.

    Depending on your website and the hosting service used in most cases you can load it faster by placing it within the head of your site page compared to the body.

    However, if that doesn't help here is an additional thread http://www.jotform.com/answers/28146 which has some previous examples that would allow you to get your lightbox to load when someone first visits your webpage.

  • Profile Image

    Answered by mcarikn on November 10, 2014 at 04:18 PM

    Hi KadeJM,
    My code is set exactly like described in the above thread, except that my 'body onload' calls 2 functions:
    <body onload="document.getElementById('lightbox-43116088724455').click(); slideshow();">
    First call is the lightbox, so I thought it should load it first.. but it doesn't act like this.
    Any suggestions?
    Thanks!

  • Profile Image
    JotForm Support

    Answered by KadeJM on November 10, 2014 at 05:12 PM

    I noticed that your jotform already loads rather quickly in the thank-you page url I found a few threads back. Was this still the same or have you moved on as I'm a bit unsure so I do apologize about the confusion in advance if there is any.

    The page loads a split second followed by the jotform itself which is only slightly noticeable. 

    Have you tried using the native on-page load option in the lightbox embed wizard?

    As of right now the only other technique I can think of would be to reorganize the way your have your page elements since your website will load from top to bottom first. But contradictory to the mix of it you will likely notice smaller elements loading much quicker than larger ones because of the fact that they are much heavier on your site resources.

    And I think that might be because of the body that you currently have your script set to load from which is further on down your page.

  • Profile Image

    Answered by mcarikn on November 10, 2014 at 05:42 PM

    The native on-page load option did the trick!
    Thank you very much!

  • Profile Image
    JotForm Support

    Answered by abajan on November 10, 2014 at 06:45 PM

    On behalf of my colleague, you're most welcome. By the way, even though I neither speak nor understand Hebrew I loved the video on your page so much that I Facebook "liked" the page! (That makes me the 60th person to do so.)

     


    Cheers :)

  • Profile Image

    Answered by mcarikn on November 11, 2014 at 04:43 AM

    Thanks a lot abajan!
    I guess that music is universal, doesn't matter what language you speak :)
    Speaking on complements.. I love your service. Really one of the best things I'v encountered on the internet lately!

  • Profile Image
    JotForm Support

    Answered by abajan on November 11, 2014 at 06:01 AM

    Your compliments are appreciated very much.

    Thanks!