donnyC@lycos.co.uk (Don Schneider) wrote:
[color=blue]
>I tried to setup a frameset which consists of 4 different subframes.[/color]
Uh huh.
[color=blue]
>Each of these subframes should fetch a different web page from the internet and display it completely (!).[/color]
Okay that's what frames do, but I think you mean something different
by 'completely' don't you? You mean display it in its entirety on a
screen, which must be magic because the page you fetch could be ten
times longer than your screen....
What would you like to happen if one of these pages was longer than
your browser window? Where would the other three frames go?
[color=blue]
>BUT: the vertical size should be undefined.[/color]
rows="*,*,*,*" but that's really the same as rows="25%,25%,25%,25%"
[color=blue]
> Depending on the retrieved (lets say 2nd) webpage the frame should take as much space[/color]
Nope. Frames don't work like that. The frameset is laid out, then the
frames are populated.
You could investigate some JavaScript that calculates the height of
the fetched page and adjusts the frame size accordingly.
[color=blue]
>as it needs to display the whole sub web page without vertical scrollbar.[/color]
scrolling="no" in your frame tag will do that. Won't help much if you
_need_ to scroll.
[color=blue]
>If I implement it like below a vertical scrollbar for each of the 4 subframes is included.
>How do I get rid of these scrollbars and display the 4 full pages completely (Ok. One full scrollbar
>for the concatenated main web pages is necessary (but for the whole page not the subpages).[/color]
Ah, you don't really want frames at all. You want some magic that will
take four web pages and combine them into one. Sorry, <magic> is
scheduled for XHTML 5.
You could look at a server side solution that fetches the four pages
and combines them into a single page. That single page can then be
displayed in an ordinary window (no frames). But this isn't an option
if you want to be able follow links, etc. within a single frame whilst
keeping the other three the same.
Steve
--
"My theories appal you, my heresies outrage you,
I never answer letters and you don't like my tie." - The Doctor
Steve Pugh <steve@pugh.net> <http://steve.pugh.net/>