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 embed option broken

    Asked by conflittiA2 on December 22, 2011 at 01:31 PM

    Hi,

    I am trying to embed the code that is generated by your site for the lightbox option of my form. When I embed the code in my html, it appears as a clickable link but when I click, nothing happens.

    I've tried embedding the following code in both <p> tags and <li>, both with the same result.

     

    <script src="//www.jotform.com/min/g=feedback" type="text/javascript">
    new JotformFeedback({
    formId:'13554154586',
    base:'http://www.jotform.com/',
    windowTitle:'Freelance Inquiry',
    background:'#474747',
    fontColor:'#FFFFFF',
    type:false,
    height:500,
    width:620
    });
    </script>
    <a class="lightbox-13554154586" style="cursor:pointer;color:blue;text-decoration:underline;">Freelance Inquiry</a>

  • Profile Image
    JotForm Support

    Answered by NeilVicente on December 22, 2011 at 05:57 PM

    Please provide the URL of the page where you embedded the form so we can inspect and find out the root cause of your problem.

    We'll be awaiting your prompt response. Thanks!

  • Profile Image

    Answered by conflittiA2 on December 22, 2011 at 06:02 PM

    http://www.nickconflitti.com/

     

    It is the "freelance inquiries" link at the top left of the page.

  • Profile Image
    JotForm Support

    Answered by NeilVicente on December 22, 2011 at 06:14 PM

    Nick,

    Our lightbox embed script is having conflicts with a jQuery script in your page. Try this solution:

    Find this piece of code in your page's source

    <script type="text/javascript">
                $.backstretch("images/home_backgrounds/fullbackground10.jpg");
    </script>

    Insert $.noConflict(); between the script tags, preferrably before everything else

    <script type="text/javascript">
                $.noConflict();
                $.backstretch("images/home_backgrounds/fullbackground10.jpg");
    </script>

  • Profile Image

    Answered by conflittiA2 on December 22, 2011 at 06:27 PM

    Inserting $.noConflict(); this worked. I did have to move it below the $.backstretch("images/home_backgrounds/fullbackground10.jpg");  though.

    With the no conflict line above, it broke my background image script. Below fixed it though. Thanks!

  • Profile Image
    JotForm Support

    Answered by NeilVicente on December 22, 2011 at 06:29 PM

    My bad. I tested the solution on a barebone copy (html code only) of your page on my local computer, that's why I did not realize the background image was not showing. Still, I am happy to hear it worked for you.