Embed Source Code issues

  • brewerben
    Asked on March 21, 2016 at 12:42 PM

    Hi I am trying to use the Embed Source code for my form in my website so that my website is not so slow. When I embed the source code the background of the form turns to white. Why is it not recognizing the css I have placed in the jotform editor. Below is an image of what is happening. Thank you.  

    Jotform Thread 799250 Screenshot
  • mert JotForm UI Developer
    Replied on March 21, 2016 at 1:01 PM

    Hi there,

    According to my tests on several browsers, I can see the background color is blue (#1970c0) which is fitted to your webpage. Please, see it from the below:

    Embed Source Code issues  Image 1 Screenshot 20

     

    Maybe, the issue is because of your browser's cache, so please open your browser's incognito mode and try to access the page again.

     

    In addition, I see some conflicts on your webpage, because you have embedded your form with script and iFrame embed code at the same time. So, please delete the script one and shorten the iFrame embed code by deleting the script part of it. As it is seen from the below, you don't need to take the whole structure of embed code, the content between <iframe>...</iframe> tags is enough to embed your form. (Following code is just an example, don't embed that one.)

     

        <iframe

          id="JotFormIFrame"

          onDISABLEDload="window.parent.scrollTo(0,0)"

          allowtransparency="true"

          src="https://form.jotform.com/53341292355958"

          frameborder="0"

          style="width:100%;

          height:800px;

          border:none;"

          scrolling="no">

        </iframe>

     

    Please, try this method, it will overcome the script conflict and please don't forget to let us know the results.

    Thanks.