On Sep 12, 10:40 am, "removeps-gro...@yahoo.com" <removeps-
gro...@yahoo.comwrote:
Hi. Is iframe supposed to have an onload event? Many documents in
google have examples of this method. It works in Mozilla 2. However,http://www.w3schools.com/TAGS/tag_iframe.aspdoes not have it. If it
not supposed to be there, why is that, and what is the workaround?
The other strange thing about iframe, at least on my browser, is that
it must have body content.
That is
<iframe id="myframe" frameborder="1" marginheight="-10"
marginwidth="0" src="test1.html" style="display:block; margin-bottom:
3em" onload="myframeFullHeight()"/>
does not display right on Mozilla 2. Everything after the iframe is
cut out. But
<iframe id="myframe" frameborder="1" marginheight="-10"
marginwidth="0" src="test1.html" style="display:block; margin-bottom:
3em" onload="myframeFullHeight()"></iframe>
does work