View Full Version : Problem with Iframe.
Hyperactive
11-09-2007, 10:50 PM
I have normal iframe like this;
<iframe src="next.php" widht="something" height="something" name="iframe" scrolling="no" frameborder="0">
</iframe>
How can i do that iframe shows whole
"src=" page without "height" or "widht" added in iframe? How can i do that?
jscheuer1
11-10-2007, 01:35 AM
Since iframe is being deprecated anyway, why not go quirks? Forcing quirks mode with no DOCTYPE on the page, you should be able to do this:
<iframe src="whatever.htm" width="100%" height="100%" frameborder="0" scrolling="auto">
<a href="whatever.htm">Whatever</a>
</iframe>
That should at least get you part of the way. Removing scrollbars from the top page with:
html, body {
overflow:hidden;
}
or some such thing might be nice too.
You should be left with an iframe that takes up the entire space of the window with scrollbars (if any) that scroll to various places on the external page.
Untested
Hyperactive
11-10-2007, 10:40 AM
Thank you very much ! ;)
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.