I am loading an aspx web page in an iframe. The content in the Iframe can be of more height than the iframe\'s height. The iframe should not have scroll bars.
I have
You can retrieve the height of the IFRAME
's content by using:
contentWindow.document.body.scrollHeight
After the IFRAME
is loaded, you can then change the height by doing the following:
Then, on the IFRAME
tag, you hook up the handler like this:
I had a situation a while ago where I additionally needed to call iframeLoaded
from the IFRAME
itself after a form-submission occurred within. You can accomplish that by doing the following within the IFRAME
's content scripts:
parent.iframeLoaded();