|
Posted by dorayme on 11/07/11 11:25
> From: Konrad Hammerer <konrad.hammerer@tesis.de>
>
>>> in the right frame I
>>> have the content and in the top frame I have same kind of
>>> Header-Information about the content frame. When I click on a link in
>>> the left frame, I know how to change the right frame (with
>>> target="right"), but this is not enough! I need to change also the top
>>> frame, because the Header-Info must be updated and also the left
>>> frame, because the navigation table may have changed!
>>
>>
>> target="_top" (and build a new frameset document for each view).
>>
>
> Can you tell me how to do this? I tried to create a new frameset for
> each view but how do I get rid of the "old" frameset which is set now?
> My problem with created a new frameset for each view was that I got a
> frameset in the frameset for each link...
>
> Thanks,
> Konrad
You don't need to get rid of anything. Just make a frameset like
you want the target to look like (one in which all the frames
are changed) and target that frameset.
Let me suggest something I have done myself in this regard: if
you are going to do more of these major changes to the frameset
members, the frames, then create a folder called "framesets" and
keep all your framesets there. When you need a link in your
navigation to change just one frame, you use the construction:
<a href="../something.html" target="rightframe">A bit
different</a>
But when you want to do more than merely change one frame, use
the construction:
<a href="frames/frameset5.html" target="_top">Quite a bit
different</a>
Of course, you will know the best name to give these framesets
based on the context. For example, suppose you are making a
frameset for a section on cheeses. You could call it
"cheeseFrame.html". While folks stay within the cheese section,
they will use your frameset, your navigation then will just
change the content frame (using the first construction above).
But if they decide to move to the cakes section of you website,
which may need different navigation etc, you use the second
construction and maybe the frameset will be called
"cakeFrameset.html". The point about this is that it is easy to
get lost mentally, so pick some meaningful names and a
consistent manner of naming and filing.
dorayme
[Back to original message]
|