View Full Version : iframe?
Nailgunpro
03-30-2008, 11:15 PM
is there a way for an iframe to take up the whole screen?
Well, you could just use a frame if you want the whole screen taken over.
molendijk
03-31-2008, 10:39 AM
is there a way for an iframe to take up the whole screen?
You mean this(?):
<iframe name="bla" id="bla" src="bla.html" style="position:absolute; left:0px; top:0px; border:0px;width:100%; height:100%"></iframe>
Arie Molendijk
Why would you even need an iframe? Just use a frame.
molendijk
03-31-2008, 12:16 PM
Why would you even need an iframe? Just use a frame.It all depends on what Nailgunpro wants. Note that framesets do have all sorts of disadvantages, like an incorrect URL in the address bar, bookmarking problems etc. As for me, I would prefer <object></object> to <iframe></iframe> and <frameset></frameset>
--------
Arie M.
codeexploiter
03-31-2008, 01:25 PM
You can't set a 100% height for your iframe that simply. You need to use JavaScript for adjusting the height of the iframe based on the height of the document it loads.
codeexploiter
03-31-2008, 01:28 PM
Why would you even need an iframe? Just use a frame.
I don't think there is much advantage in using either of them at the moment. But there are situation in which we have to use either one of them.
Powered by vBulletin® Version 4.2.2 Copyright © 2021 vBulletin Solutions, Inc. All rights reserved.