-
Autoresizing Iframes depending on content?
Is it possible to make an Iframe that automatically "expands" downwards to
fit the html page that is put into it?
Dhen using normal frames they expand down just as normal no-frame pages do,
but if I replace my old frame structure with iframes it seems to require a fixed
height of those iframes, which would negate my purpose of changing to iframes.
Ofcourse, I can adapt and overcome, but it would be easier if the iframe
expanded downwards itself just like normal frames.
-
-
Well, there are scripts for that but, IMHO they aren't anywhere near as reliable as using regular frames. Also, there isn't much advantage to using iframe instead of frame. Another problem with adjustable iframes is that they are javascript dependant. Here's one such script:
http://www.dynamicdrive.com/dynamici...iframessi2.htm
You may wish to use Ajax, there are several scripts on this index:
http://www.dynamicdrive.com/dynamicindex17/indexb.html
But, if you can get it to work with regular frames, I think that you are much better off.
-
-
Well, I am using regular frames right now, but I want things to appear as if it is
just a single big page, with a scrollbar for the whole page on the right side,
which isn't possible with normal frames.
As far as I know anyway.
But yeah, looked into some of the dynamic stuff myself, and it doesn't feel very
comfortable using them, rather think I just find the largest page and make the
main iframe that size instead.
Thanks for the reply anyway.
Last edited by Luterin; 03-30-2007 at 01:51 PM.
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks