473,785 Members | 2,576 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 11016
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
11582
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 different but that doesnt happen how can I solve that problem?
14
33812
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
8089
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 have a real problem with them. Problem is that these couple of framed sites are predominately for...
3
2116
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 querystring. Make Sense?
14
3957
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
9417
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
7064
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
5625
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
9647
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
10098
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8986
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6743
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5390
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 the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5523
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4058
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
2
3662
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2890
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.