Let's take a look at this example, to help give us a better understanding of how the links will work. ![]() <FRAMESET ROWS="25%,75%"> <FRAME SRC="a.html" NAME="menubar"> <FRAMESET COLS="300,*"> <FRAME SRC="b.html" NAME="news"> <FRAME SRC="c.html" NAME="main"> </FRAMESET> </FRAMEST> So we now have 3 frames named menubar, news, and main. Now that the frames have been named we can create links in one frame that will load in another or same frame. We have to return to the anchor tag the <A> tag, and introduce a new attribute for this tag. It is the TARGET attribute. Here is where you will place the name of the frame you would like the page to load in. If you do not specify a target name in the <A> tag, the page will load into the same frame. Also, there are four reserved names for this value, they are:
<A HREF="news_today.html" TARGET="news">Today's News</A> In the news frame there will now be news_today.html loaded, and not in the menubar frame where the link is located. © Copyright 2000-2002 by Pepmint.com. All Rights Reserved |
||||||||||
home :: tutorial :: portfolio :: links :: hammies :: guestbook :: contact |