|
Posted by J.O. Aho on 03/07/07 16:29
jamiil wrote:
> Now, to the task at hand. I have a directory tree that looks like
> this:
> Frame_4.html
> ~~~~~~~~~~~~
> <html>
>
> <frameset cols="22%,78%">
>
> <frame noresize="noresize" src="Frame_2.html">
> <frame noresize="noresize" src="Frame_3.html">
> </frameset>
>
> </html>
As I understood, you had a page that looked something like:
TTTTTTTTTTTT
TTTTTTTTTTTT
MMMMDDDDDDDD
MMMMDDDDDDDD
MMMMDDDDDDDD
MMMMDDDDDDDD
So why don't you do all in one frameset?
The main trouble you have is that you haven't named the frames, and therefore
you can't target a frame.
<FRAMESET rows="100, *">
<FRAME name="title" src="Frame_3.html">
<FRAMESET cols="22%, *">
<FRAME name="menu" src="Frame_2.html">
<FRAME name="main" src="Frame_1.html">
</FRAMESET>
</FRAMESET>
In the Frame_2.html you use anchors like
<a href="http://www.example.net" target="main">The example net page</a>
if you want them to be displayed in the big frame.
if you want to replace your menu with another one, then use target="menu" and
if you want a new title then use target="title".
--
//Aho
[Back to original message]
|