2 different iframes showing the same jotform

  • Profile Image
    youssef 
    Asked on November 17, 2014 at 11:56 AM

    I have embed an iframe for my reviews that come from another website on the same page that I have embedded my Jot contact form iframe. The "Jot contact form" start to show in the reviews iframe. I think there is an iframe conflict. Any help Please.

     

    JotFom Iframe code:

    <iframe id="JotFormIFrame" onload="window.parent.scrollTo(0,0)" allowtransparency="true" src="//form.jotform.us/form/42927070847158" frameborder="0" style="width:100%; height:750px; border:none;" scrolling="no"></iframe>
    <script type="text/javascript">window.handleIFrameMessage = function(e) {var args = e.data.split(":");var iframe = document.getElementById("JotFormIFrame");if (!iframe)return;switch (args[0]) {case "scrollIntoView":iframe.scrollIntoView();break;case "setHeight":iframe.style.height = args[1] + "px";break;}};if (window.addEventListener) {window.addEventListener("message", handleIFrameMessage, false);} else if (window.attachEvent) {window.attachEvent("onmessage", handleIFrameMessage);}</script>

     

    Reviews Code:

    <iframe src="//www.smilereminder.com/vs/reviews/pearl_smile_dental_braces?limit=50" style="border: 0;" width="475" height="6000" frameborder="0" scrolling="yes"></iframe>

     

     

    thanks

  • Profile Image
    Ben
    Answered on November 17, 2014 at 12:19 PM

    Hi Youssef,

    Based on the screenshot I can tell you that the iframes seem to both be linking to our jotform.

    If you have included the code to the page as above I do not see any reasons why this would happen.

    Since the screenshot shows that the page is on your local computer I would like to ask you if you could upload it somewhere for a quick moment so that we can take a look at, or at least upload the code from the page?

    If you would upload the code, I recommend using pastebin or some other such service that would allow us to see the code.

    Best regards,
    Ben