473,763 Members | 3,901 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

nested frames

I want to write a multi-frame web page. At level one, it has
two frames, saying LEFT and RIGHT. At level two, I split the RIGHT frame
into two again, saying UPPER_RIGHT and LOWER_RIGHT.
The LEFT frame contains a menu. The reason I need two levels
is because each menu item needs different UPPER_RIGHT and
LOWER_RIGHT frames. I just found that I could not nest frames.
Can someone please tell how to write such a web page?

thank you

Oct 14 '05 #1
21 2953
In our last episode, bird <bi**@village.o rg> pronounced to
comp.infosystem s.www.authoring.html:
I want to write a multi-frame web page.
Why?

Problems with frames:
http://www.htmlhelp.com/design/frames/whatswrong.html
http://html-faq.com/htmlframes/?framesareevil
http://dorward.me.uk/www/frames/

Search Engines and Frames:
http://www.google.com/webmasters/2.html (see under "Your pages use
frames")
http://searchenginewatch.com/webmast...le.php/2167901

Using Frames Properly:
http://www.markparnell.com.au/articles/frames.php
I just found that I could not nest frames.
You can, but it's only going to compound the problems.
Can someone please tell how to write such a web page?


We could, but then we'd have to kill you.

--
Mark Parnell
http://clarkecomputers.com.au
Oct 14 '05 #2
bird wrote:
I want to write a multi-frame web page. At level one, it has
two frames, saying LEFT and RIGHT. At level two, I split the RIGHT frame
into two again, saying UPPER_RIGHT and LOWER_RIGHT.
The LEFT frame contains a menu. The reason I need two levels
is because each menu item needs different UPPER_RIGHT and
LOWER_RIGHT frames. I just found that I could not nest frames.
Can someone please tell how to write such a web page?

thank you


You have two problems:

1. Frames are out
You have just started a threat in wich a lot of people will be arguing
the pros and cons of using frames.
This will develop into a kind of global frames-war.

2. The problem in itself is so minor, that by posting this question you
will invite a lot of answers like:
"Google is your friend"
"Have you searched the web?"
"Find an existing website that looks the same and study the code"
Actually, if I hadn't been in a writing mood, I would probably have
given one of these answers.

Good luck.

RW
Oct 14 '05 #3
"bird" wrote:
I want to write a multi-frame web page.


Stop wanting that.

Try doing things properly instead. Here's a good place to start:
<http://www.allmyfaqs.c om/faq.pl?Include_ one_file_in_ano ther>

--
phil [dot] ronan @ virgin [dot] net
http://vzone.virgin.net/phil.ronan/
Oct 14 '05 #4
In message <di**********@m ailhub227.itcs. purdue.edu>, bird
<bi**@village.o rg> writes
I want to write a multi-frame web page. At level one, it has
two frames, saying LEFT and RIGHT. At level two, I split the RIGHT frame
into two again, saying UPPER_RIGHT and LOWER_RIGHT.
The LEFT frame contains a menu. The reason I need two levels
is because each menu item needs different UPPER_RIGHT and
LOWER_RIGHT frames. I just found that I could not nest frames.
Can someone please tell how to write such a web page?

thank you


Sure.

You realise, of course, that your post will wake up the frame-o-phobes,
who will then explain to you why the use of frames will bring about the
end of civilization as we know it ;-)

Anyway, here's a good example (and you may want to read the rest of the
section):

http://www.w3.org/TR/REC-html40/present/frames.html

In the example, the page will look like a mirror-image of your
requirements-- but should give you an idea of how to write the HTML.

In your case, you'll need (in basic terms) something like:

<frameset cols="30%, 70%">
<frame src="left_frame .htm" name="Menu">
<frameset rows="100, 200">
<frame src="upper_righ t.htm" name="descripti ve name of this
frame.">
<frame src="lower_righ t.htm" name="descripti ve name of this
frame.">
</frameset>
etc.

The w3c reference will show you how to set the various proportions of
the frames on the screen.

Post back if you've still got problems.

regards

PS. Do understand that you will not be able to fill both frames
simultaneously with content from a single 'click' on the menu. For that
you are probably going to need javascript -- so if that's what your
thinking of doing, you should visit one of the javascript NGs.



--
Jake (ja**@gododdin. demon.co.uk -- just a 'spam trap' mail address)
Oct 14 '05 #5
On Fri, 14 Oct 2005, Jake wrote:
You realise, of course, that your post will wake up the
frame-o-phobes, who will then explain to you why the use of frames
will bring about the end of civilization as we know it ;-)
You've got the wrong end of the stick here. You're talking to web
page authors - but the more experienced authors here know that it's
discerning *readers* who hate frames.

Authoring good web pages isn't just about what appeals to authors, but
about producing a product that will be useful to one's readers. If
you want to convince *readers* that frames are so wonderful, this
might not be the right place to do it.
Anyway, here's a good example (and you may want to read the rest of the
section):

http://www.w3.org/TR/REC-html40/present/frames.html ^^^^^^^

There's a clue in there. "Present"at ion nowadays[1] belongs in the
stylesheet, not in the HTML.
<frameset cols="30%, 70%">
<frame src="left_frame .htm" name="Menu">
<frameset rows="100, 200">
<frame src="upper_righ t.htm" name="descripti ve name of this frame.">
<frame src="lower_righ t.htm" name="descripti ve name of this frame.">
</frameset>
etc.
One of the most important parts of a frames design is completely
missing from your example!
Post back if you've still got problems.


More to the point, your *readers* will get problems (but will they
bother to tell you about them - or just quietly leave?). Posting here
might go some way to helping an author to alleviate those problems
(for example, creating a different URL for every frameset
configuration so that bookmarking isn't sabotaged), but some of them
are so fundamental that it might be better to completely reconsider
the problem.

best
[1] this *had* always been the underlying plan, although the vendors
(starting with the "Mosaic Communications Corporation" managed to
obfuscate it with presentational quasi-HTML for far too long.
Oct 14 '05 #6
On Fri, 14 Oct 2005, Jake wrote:
In your case, you'll need (in basic terms) something like:

<frameset cols="30%, 70%">
<frame src="left_frame .htm" name="Menu">
<frameset rows="100, 200">
<frame src="upper_righ t.htm" name="descripti ve name of this
frame.">
<frame src="lower_righ t.htm" name="descripti ve name of this
frame.">
</frameset>
etc.


Don't forget

<noframes>
<img alt="Valid HTML 4.01 Frameset" src=...>
</noframes>

as suggested by validator.w3.or g.

--
One of the most common operations performed in a Web page
is to detect the browser type and version.
Found on http://msdn.microsoft.com

Oct 14 '05 #7
begin quotation
from bird <bi**@village.o rg>
in message <di**********@m ailhub227.itcs. purdue.edu>
posted at 2005-10-14T04:21
I want to write a multi-frame web page.


If frames were so great, Netscape Corporation (since bought by AOL)
would still be using them today. As it stands, Netscape Corporation
dumped their frames site within a matter of months.

Frames are obsolete. Any other method of trying to solve the same
problems is a step up.

--
___ _ _____ |*|
/ __| |/ / _ \ |*| Shawn K. Quinn
\__ \ ' < (_) | |*| sk*****@speakea sy.net
|___/_|\_\__\_\ |*| Houston, TX, USA
Oct 14 '05 #8
Jake <ja**@gododdin. demon.co.uk> wrote:
PS. Do understand that you will not be able to fill both frames
simultaneously with content from a single 'click' on the menu. For that
you are probably going to need javascript -- so if that's what your
thinking of doing, you should visit one of the javascript NGs.


The answer to the FAQ "How do I update two frames at once?"
<http://www.htmlhelp.co m/faq/html/frames.html#fra me-update2> includes a
non-JavaScript solution that works more reliably than the JavaScript
solutions.

But see also: http://www.htmlhelp.com/faq/html/fra...frame-problems
--
Darin McGrew, mc****@stanford alumni.org, http://www.rahul.net/mcgrew/
Web Design Group, da***@htmlhelp. com, http://www.HTMLHelp.com/

"What is the use of running when you are not on the right road?"
Oct 14 '05 #9
On Fri, 14 Oct 2005 11:13:22 +0100, Jake <ja**@gododdin. demon.co.uk>
wrote:
You realise, of course, that your post will wake up the frame-o-phobes,
who will then explain to you why the use of frames will bring about the
end of civilization as we know it ;-)


Whereas much of what has been espoused in c.i.w.a.* for the last five
years or so is still being widely ignored, the market actually does seem
to have caught on to the need to ditch frames.

When I had a discussion on this with a site owner a few months ago, I
took the trouble of checking some 15 or 16 sites belonging to his
customers and competitors.

Just one used frames.

--
Stephen Poley

http://www.xs4all.nl/~sbpoley/webmatters/
Oct 14 '05 #10

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

Similar topics

2
1884
by: les | last post by:
Hello, I just wonder what are the implications to use frames to build portal. I've seen some sites that are quite fast with frames but I just wonder if there are hidden "costs". I've tried to use in the past and I run into a lot of problems when I worked with environment where there were frame and no frames pages. Please let me know if frames are OK to use for serious portal.
2
6664
by: Chris New | last post by:
G'Day All I am having trouble dynamically assigning a value to a table's cell from one frame to another frame. I've created a website that is primarily viewed in a frameset consisting of 2 frames - a navigation frame (navFrame) at the top and a contents frame (mainFrame) on the bottom. In all instances, the mainFrame displays a single page except in one case, where it was necessary to use a frameset consisting of a left frame...
40
2948
by: JohnnyCJohnny | last post by:
Is it pretty safe to say that almost all web surfers now use browsers that are Frames compatible? What are most people using these days? IE? Thanks
1
1574
by: George Sicherman[aes] MTD43D29 | last post by:
I have a program that opens a window to an HTML page that looks like this: <HTML> <HEAD>...</HEAD> <FRAMESET ROWS="50%,50%"> <FRAMESET COLS="11%,11%,11%,11%,11%,11%,11%,11%,12%"> <FRAME SRC=...> ... </FRAMESET> <FRAMESET COLS="11%,11%,11%,11%,11%,11%,11%,11%,12%">
7
2331
by: David Hayes | last post by:
I tried finding an answer on http://www.quirksmode.org/ without success. I am attempting a complicated Frames structure. I have made it work in IE, but not Netscape. I begin with three frames, where the two lower ones are within a Frameset within the master Frameset: 1111111111111111111
95
5775
by: Neal | last post by:
Of course, every frame site I've ever seen has reduced usability and all. We've been through this before. But as frameset is still a part of HTML, there must be some legitimate use for it, hmm? For most markup I know when it's useful and when it's not, but regarding table markup I sure know when it isn't good, but can't really come up with a way it would be good. As you all are among the sharpest pencils in the bag, let me ask: Do you...
25
43603
by: Steal | last post by:
Hi at all I try to validate this page using the link: http://validator.w3.org/ but it return that this is not a valid HTML 4.01 page please where is it error? Steil <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/html4/frameset.dtd"> <html> <head>
5
16589
by: Dfenestr8 | last post by:
Hi. I'm designing a site, and I'm trying find a way of browsing it without using frames, so I can test the <noframes> </noframes> tags. I use a linux mandrake 10 system, with KDE 3.2. Is there a browser for linux that doesn't use frames? Or is it possible to configure either firefox or konqueror to not use frames?
7
2993
by: dj Bass | last post by:
simple, they don't like things that restrict the server-side controls... and when it comes to frames, you need client side stuff and that stuff's up the asp.net strategy. right or wrong?
0
9563
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...
0
10145
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9998
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9938
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
9822
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6642
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
5406
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3917
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
3523
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.