PDA

View Full Version : iframe resize based on iframe src


BoR|S
04-21-2003, 04:46 AM
Let's say I have a webpage with an iframe.
I don't want to see no scroll bars in the iframe, so I want to resize it (I care only about it's height) based on the file I'm viewing using that iframe...

How can that be done?
Is there a way I can put the overflow:visible style attribute and it will work for the iframe the way it works for span?
(I took the overflow reference from here (http://home.maconstate.edu/dadams/Tutorials/DHTML/dhtml02/dhtml02-02.htm))

BoR|S
04-21-2003, 05:12 PM
Okey, now the overflow:visible works, but only for the default iframe src... it won't work when following links inside the iframe... how can that be fixed?

BoR|S
04-22-2003, 06:08 AM
Okey, I got a solution already.