Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>Here's one way: <a href="http://www.mattcutts.com/blog/iframe-height-scrollbar-example/" rel="nofollow noreferrer">http://www.mattcutts.com/blog/iframe-height-scrollbar-example/</a></p> <p>If the height of the frame may change after it's loded (e.g. expanding/collapsible regions) then you can set up a polling mechanism to periodically resize the frame in case the size has changed. Like this: </p> <pre><code>&lt;html&gt; &lt;head&gt; &lt;title&gt;Parent frame&lt;/title&gt; &lt;/head&gt; &lt;body onload="window.setTimeout(resizeFrame, 250)" bgcolor="#cccccc"&gt; &lt;script type="text/javascript"&gt; // Firefox worked fine. Internet Explorer shows scrollbar because of frameborder function resizeFrame() { var f = document.getElementById('childframe'); if (f.style.height != f.contentWindow.document.body.scrollHeight + "px") f.style.height = f.contentWindow.document.body.scrollHeight; window.setTimeout(resizeFrame, 250) } &lt;/script&gt; &lt;p&gt;Parent frame.&lt;/p&gt; &lt;p&gt;Parent frame.&lt;/p&gt; &lt;p&gt;Parent frame.&lt;/p&gt; &lt;p&gt;Parent frame.&lt;/p&gt; &lt;p&gt; &lt;iframe frameborder=0 src="./innerframe.htm" name="childframe" id="childframe"&gt; &lt;/iframe&gt; &lt;/p&gt; &lt;/body&gt; &lt;/html&gt; </code></pre> <p>Note: I'm assuming that you're using frames because you're pulling content from another domain. If you're pulling content from the same domain, you might be able to simply use script to fetch the content using XmlHttpRequest, and then inject the HTML into a DIV on the parent page. You can't do this if the content lives on a different domain, due to browsers' cross-site scripting limitations.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload