You are here: Re: Displaying link in one frame & data in another « HTML « IT news, forums, messages
Re: Displaying link in one frame & data in another

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация