|
Prev: Code erased after ftp upload
Next: Static Background.
From: Paul on 26 Aug 2005 23:11 HI! I need to know how we can resize the parent window from inside an iframe? I have a script that works great in IE, NS, Opera. but with firefox/mozilla it does not work completely due to a bug ( I think in these browsers. I posted a work around here yesterday for auto- resizing iframes for firefox. but the workaround has a side effect which for is no good for my situation. I notice that firefox/mozilla does not accept Auto-height for the body tag in CSS. the other browser above do auto resize body after the script has resized the iframe. I noticed also that if you use your mouse to adjust the browser size it then its works as firefox will then auto adjust the screen size. (This I think is bug in Firefox/mozilla). So I figure that if I resize the window ( Just one Pixel ) then back to its original size it would simulate the user re-adjusting the browser window. that's why I am asking for a way to resize the parent window from within the child window of the iframe, It would right after the script has resize the parent Iframe. NOTE: A page refresh is no good for me. I already thought of that but I cant use it for another reason. Thanks in advance :) Paul
|
Pages: 1 Prev: Code erased after ftp upload Next: Static Background. |