HOw do we resize the parent page from inside an iframe?

P

Paul

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
 
S

Steve Easton

It might not be needed

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top