473,543 Members | 2,771 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How to include multiple frames in frameset without predefined dimensions/vertical scrollbar

I tried to setup a frameset which consists of 4 different subframes.
Each of these subframes should fetch a different web page from the internet and display it completely (!).
BUT: the vertical size should be undefined. Depending on the retrieved (lets say 2nd) webpage the frame should take as much space
as it needs to display the whole sub web page without vertical scrollbar.

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).

<FRAMESET rows="500,500,5 00,*" BORDER=0 FRAMEBORDER=0>
<FRAME SRC="http://www.blah.com/firstpage.html" NAME="firstfram e" MARGINWIDTH=1 SCROLLING=NO TITLE=MENU>
<FRAME SRC="http://www.blubb.com/firstpage.html" NAME="secondfra me" MARGINWIDTH=1 SCROLLING=NO TITLE=MENU>
<FRAME SRC="http://www.karl.com/firstpage.html" NAME="thirdfram e" MARGINWIDTH=1 SCROLLING=NO TITLE=MENU>
<FRAME SRC="http://www.paul.com/firstpage.html" NAME="fouthfram e" MARGINWIDTH=1 SCROLLING=NO TITLE=MENU>
<NOFRAMES>

Regards
Donny

Jul 20 '05 #1
2 10996
do****@lycos.co .uk (Don Schneider) wrote:
I tried to setup a frameset which consists of 4 different subframes.
Uh huh.
Each of these subframes should fetch a different web page from the internet and display it completely (!).
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?
BUT: the vertical size should be undefined.
rows="*,*,*,*" but that's really the same as rows="25%,25%,2 5%,25%"
Depending on the retrieved (lets say 2nd) webpage the frame should take as much space
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.
as it needs to display the whole sub web page without vertical scrollbar.
scrolling="no" in your frame tag will do that. Won't help much if you
_need_ to scroll.
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).


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 <st***@pugh.net > <http://steve.pugh.net/>
Jul 20 '05 #2

"Don Schneider" <do****@lycos.c o.uk> wrote in message
news:bd******** *****@news.t-online.com...
I tried to setup a frameset which consists of 4 different subframes.
Each of these subframes should fetch a different web page from the internet and display it completely (!). BUT: the vertical size should be undefined. Depending on the retrieved (lets say 2nd) webpage the frame should take as much space as it needs to display the whole sub web page without vertical scrollbar.


You're trying to display four pages right after the other? This cannot be
done with frames at all. You can do it with includes, but that can really
fook up linkage and styles etc...

If you are familiar with coding on the web platform of your choice, I'd say
you can setup a script to include the other pages, change all URIs to point
to the appropriate locations, and strip out header stuff. But then you're
*really* going to fook up styling.

The better solution? Don't do this at all. If they are four completely
different pages, you should give proper links to the pages and let visitors
see them as they desire.


Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
11570
by: Willem van Isselmuden | last post by:
Hello, I've a problem I hava a page with different popup windows, when I hit a link the first one pops up and with the first open i would like to hit the second link in the parent page so the second links pops up a window in the first popup. The way I have it now is working but with each link the size of the popup window should be...
14
33752
by: x | last post by:
Greetings everyone: I am trying to get CSS to work with a framed web page, but I cannot. Does anyone know the syntax required in a CSS specification to specify attributes of the frames? Ideally, I want to be able to change the border thickness, colour, etc. Additionally, does anyone know of some comprehensive examples/tutorial
4
8077
by: Laphan | last post by:
Hi All I know the first thing that some might say is that I shouldn't be using in frames in web sites, but they are listed as being part of the HTML 4.0 standard. I am trying to do my web sites without them, but I have a couple that really need to have frames and which work fine in IE and Netscape, but this new Safari browser seems to...
3
2109
by: jm | last post by:
I have a master framesetpage that calls two .aspx pages. Each page needs parameters passed to it. The left side is a treeview. The right side is the detail. I cannot find an asp:frame or the like. I need to be able to have the master frameset so that when it initially pulls up the two source frames it sends them the parameter in the...
14
3932
by: Michael Weis | last post by:
Hello all, as a non-professional in these things, I searched for this topic but found no satisfying answer: I have to create a site with 3 frames. (Please no diskussion about the sense of using frames...) The main frame has to show a vertical scrollbar if content is bigger than one display page. This works well, but:
4
9405
by: wardemon | last post by:
Hi all, I have a frame layout of my site as follows: <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>WikiTech</title> </head> <frameset id="fstSiteLayout" rows="115,*,22" bordercolor="#dcdcdc" frameborder="yes" framespacing="1">
14
7035
by: Mark | last post by:
Hi Guys, I am very new to ASP.NET world. I need to create three frames. One at the top, one on the left and another on the right side. I don't know how to do it. So please help me with it. I'll appreciate any help/example you can provide. I am using visual studio 2005. Thanks, Mark
12
5587
by: Geoff Cox | last post by:
Hello I'm having a problem loading a frameset file using an include in a php file. Nothing is displayed and when I look at the source code I see that <html> <head> <title></title>
0
7402
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7347
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7684
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5264
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3388
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3391
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1814
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
963
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
633
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.