Jump to content
  • 0

Iframe Showing Below Footer of Website



I have a page Shown Here that has a couple of datapages deployed as Iframes. My table at the bottom has a custom script which is also shown below. As you can see, this is causing the iframe to show below the footer of the website.

Does anyone know why it might be showing up so low in the website?


<noscript><iframe border="0" frameborder="0" height="1000px" marginheight="0" marginwidth="0" name="iframe" src="https://c1abv844.caspio.com/dp/91cf7000e1c04a6858f7405d90f8" width="100%">Your browser does not support inline frames or is currently configured not to display inline frames.</iframe></noscript><script type="text/javascript">
        var form = 'https://c1abv844.caspio.com/dp/91cf7000e1c04a6858f7405d90f8';
        var params = window.location.search;
        var thisScript = document.scripts[document.scripts.length - 1];
        var iframe = document.createElement('iframe'); 
        iframe.setAttribute('src', form + params);
        iframe.setAttribute('width', '100%');
        iframe.setAttribute('height', 500);
        iframe.setAttribute('type', 'text/html');
        iframe.setAttribute('frameborder', 0);
        iframe.setAttribute('allowTransparency', 'true');
        iframe.style.border = '0'; 
        thisScript.parentElement.replaceChild(iframe, thisScript);


Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0
You will need to transfer the code of your footer to the DataPage that is displaying the Table. You can just create an HTML Block before your footer. and then paste the deployment code of your Iframe. Please ensure that the enabled HTML Editor has been unchecked from the advance tab.
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...