wellingtonboots
04-20-2006, 04:39 PM
I have used the autoresize script avaliable from Dynamic
http://www.dynamicdrive.com/dynamicindex17/iframessi.htm
My iframes autoresize for the first page but when I clikc on a link and a new page opens in the iframe the frame does not autoresize again.
My HMTL currently looks like this
<iframe src="updates.htm" name="text frame" marginwidth="0" marginheight="0" width="650px" frameborder="0" vspace="0" hspace="0" scrolling="no" class="banner" style="position:absolute; top:403px; left:147px; border-top:0px; border-bottom:0px; border-left:0px; border-right:0px; overflow: visible; display:none;"></iframe>
However when I refresh the page the iframe autoresizes. Do I need to add a onload property?
http://www.dynamicdrive.com/dynamicindex17/iframessi.htm
My iframes autoresize for the first page but when I clikc on a link and a new page opens in the iframe the frame does not autoresize again.
My HMTL currently looks like this
<iframe src="updates.htm" name="text frame" marginwidth="0" marginheight="0" width="650px" frameborder="0" vspace="0" hspace="0" scrolling="no" class="banner" style="position:absolute; top:403px; left:147px; border-top:0px; border-bottom:0px; border-left:0px; border-right:0px; overflow: visible; display:none;"></iframe>
However when I refresh the page the iframe autoresizes. Do I need to add a onload property?