How do Frames work ( a top and two columns )

[Previous Page] [Next Page] [Up] [Home Page] [Contents]

Top and two columns

Put this code in the index.html page change the ones in red if you want to and save it

<HTML>
<HEAD>
<TITLE>David Dalleh 's home page</TITLE>
</HEAD>
<FRAMESET ROWS="80,*">
<FRAME NAME="banner frame" SRC="bannerpg.html" MARGINHEIGHT="1" MARGINWIDTH="1" NORESIZE SCROLLING="no"> <FRAMESET COLS="25%,75%">
<FRAME NAME="index frame" SRC="indexpg.html" MARGINHEIGHT="1" MARGINWIDTH="1">
<FRAME NAME="main frame" SRC="mainpg.html">
</FRAMESET>
<NOFRAMES>

<BODY> <H2 ALIGN="CENTER">This view window does not support Frames. From SiteBuilder you can view Frames by clicking the View menu and then choosing Page in Browser (if your web browser supports Frames).</H2></CENTER>

</BODY>
</NOFRAMES>
</FRAMESET>
</HTML>


The mainpg.html
 

Rename your present( index.html ) ( mainpg.html ). If you can not rename it. Creat a new page and copy what is on the index.html to it and name it mainpg.html.

All the links on the mainpg.html and other sub pages that point to site other than yours has to end with target="_top"
<a href="http:/www/angelfire.com/" target="_top">Angelfire</a>

<a href="http:/www/netscape.com/" target="_top">Netscapee</a>

Back home link

<a href="index.html" target="_top">Back to home page</a>


indexpg.html

Creat a new page and name indexpg.html this page is the one on the left. It is the menu for your page. Put a table or images with links that points to the right frame.

All links of this page as to end with target="main frame"

This code is the same code for the one on the left in the indexpg.html just change the URLs and the text in red.

You can add or delete any cell From <TR> to </TR>

<CENTER>
<TABLE BORDER=1 >
<TR> <TD><A HREF="mainhtml.html" target="main frame">what to do with index.html</A> </TD> </TR>

<TR> <TD><A HREF="indexhtml.html" target="main frame">HTML code for index.html</A> </TD> </TR>

<TR> <TDs index (menu) page</A> </TD> </TR>

<TR> <TD><A HREF="-----------" target="main frame">===========</A> </TD> </TR>

<TR> <TD><A HREF="--------------" target="main frame">===========</A> </TD> </TR>

<TR> <TD><A HREF="----------------------" target="main frame">============</A></TD> </TR>

<TR> <TD><A HREF="index.html" target="_top">Back to home page</A></TD> </TR>

</TABLE>
</CENTER>


Bannerpg.html

Creat a new page and name it bannerpg.html and put the banner centered in it.

<center><img src="the URL of your banner"></center>

you can put anything in it midi or wav files




LinkExchange Network

[Previous] How do Frames work ( two columns )
[Next] How do Frames work ( a top, two columns and a bottom )
[Up] Frames
[Home] Home Page
[Contents] David's FAQ Contents



Thank you for your visit
Entrance page

Last modified on Thursday, November 19, 1998