i've an Iframe in my page,
<IFRAME ID=CONTENT_FRAME SRC=BLAHBLAHBLAH STYLES='height:0px; width:0px;' > </IFRAME>
the iframe source can be dynamically changing as the user clicks happen. so to calculate the height of the iframe everytime the content changes, i've set an expression during body onload.
try{document.getElementByI
d('CONTENT
_FRAME').s
tyle.setEx
pression('
height','d
ocument.ge
tElementBy
Id("CONTEN
T_FRAME").
Document.b
ody.scroll
Height); }catch(err) {} // crashes..
but this line crashes IE on some apges and some pages it works fine.. can someone pls tell me whats happening here and also suggest me a workaround. i know its getting into infinite loop or something. i'm working with IE only and resize event capturing technique is not covering 100% scenerios i've.. thats why i use expression
Start Free Trial