html_code_clinic thread: Setting IFRAME height to 100% inside IE Element Behavior does not work
I'm trying to develop an extended IFRAME tag using IE "element behaviors".
The ("extended") tag functionality is OK, but I could not manage to set
the extended IFRAME height to 100%.
======================================================
Code extracted from "myiframe.htc"
======================================================
<PUBLIC:COMPONENT tagName="MYIFRAME">
<PUBLIC:DEFAULTS viewLinkContent />
<ATTACH event="oncontentready" handler="init" />
....
my code was here
....
<BODY>
<IFRAME id="iframe1" height="100%"></IFRAME>
</BODY>
</PUBLIC:COMPONENT>
======================================================
HTML with extended IFRAME -> Iframe height is NOT 100%
======================================================
<HTML xmlns:xxx>
<?IMPORT namespace="xxx" implementation="myiframe.htc">
<BODY width="100%">
...
<XXX:MYIFRAME id="myIframe1" src="mySource.htm" />
...
</BODY>
</HTML>
======================================================
HTML with plain IFRAME -> Iframe height IS 100%
======================================================
<HTML>
<BODY width="100%">
...
<IFRAME id="myIframe1" src="mySource.htm" height="100%" />
...
</BODY>
</HTML>