Iframe Help!
-
I am running an iframe on my webpage(https://dronenr.com/news/) I am using code that auto adjusts the heights to the content.
If you looked at the webpage it only shows a little bit of the iframe and not all of it. Does anyone have any fixes for this? It also got rid of my footer.
Thanks for the help!! ??
Here is my code:
<iframe width="2000" src="https://paper.li/Drone_NR/1456497023" frameborder="0" scrolling="no" onload="resizeIframe(this)" />
<script> function resizeIframe(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; } </script>
- The topic ‘Iframe Help!’ is closed to new replies.