View Full Version : IFrame Autoresize script doesn't work

04-20-2006, 04:39 PM
I have used the autoresize script avaliable from Dynamic


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?

04-20-2006, 06:25 PM
Please post a link to the page on your site that contains the problematic script so we can check it out.