To create two similar pages as in the 'create bad frames' description
consekvently two FRAMESET documents are needed!
For page 1: (f_page1.htm)
<TITLE>Good example, page 1</TITLE>
<frameset cols="30%,*">
<frame src="menu.htm">
<frame src="p_page1.htm">
</frameset>
for page 2: (f_page2.htm)
<TITLE>Good
example, page 2</TITLE>
<frameset cols="30%,*">
<frame src="menu.htm">
<frame src="p_page2.htm">
</frameset>
Observe that no names needs to be given here!
The red bolded text is the only thing that differs f_page2 from f_page1.
It is therefor very easy to just copy f_page1 to f_page2, and then edit
f_page2.
The menu (menu.htm) should look almost like it did in the 'create bad
frames' description:
<BASE TARGET="_top">
<BODY>
<P><A HREF="t_page1.htm">Page
1
<P><A HREF="t_page2.htm">Page
2
Before the BODY line is a BASE TARGET instruction
added to tell the browser to show all linked pages in the whole window
instead of in the current frame. Furthermore are the TARGET commands removed,
because no redirection is needed any more. ALL pages will show up as independent
pages in the whole window area!
Page 1's sub window page (p_page1.htm) will look
like this:
<BASE TARGET="_top">
<BODY>
<H1>This is page 1</H1>
<P><A HREF="t_page2.htm">Page
2
Also here is BASE TARGET added before the BODY
instruction!
Exactly this code that is described above (more is not needed) with
the mentioned names can be looked at in this
directory. The main document is f_page1.htm.