dkFlyer

Utilizing Frames

For an example of a Frame, click here.

Frames require a Minimum of Three (3) HTML Documents:
the Index, the Menu and the Output Screen.

This is least amount of HTML Code required to make a Frame Index:
<HTML>
<BODY>
<FRAMESET ROWS="100%" COLS="35%,*">
<FRAME NAME="menu" SRC="menu.htm" SCROLLING="AUTO">
<FRAME NAME="outside" SRC="outside.htm" SCROLLING="AUTO">
</FRAMESET>
<NOFRAMES>
<A HREF=indexnf.htm>Go to No Frame Index</A>
</NOFRAMES>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the FRAMSET Opening Tag,
<-- the Left FRAME,
<-- the Right FRAME,
<-- the FRAMSET Closing Tag,
<-- NOFRAMES (Browsers without Frames),
<-- Message for NOFRAMES,
<-- the NOFRAMES Closing Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This is least amount of HTML Code required to make a Frame Menu:
<HTML>
<BODY>
<A TARGET="output" HREF="htmltoc.htm">HTML Table of Contents</A>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- a LINK to the TARGET "output",
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This is least amount of HTML Code required to make a Frame Output Screen:
<HTML>
<BODY>
</BODY>
</HTML>
<-- the HTML Opening Tag,
<-- the BODY Opening Tag,
<-- the BODY Closing Tag,
<-- the HTML Closing Tag.

This Code will produce this (example, only):

(frame / browser title bar - indexf.htm)
HTML Table of Contents
 
(menu.htm)
 
 
(empty - output.htm)

Be careful to not allow Frames to be selected from Inside another Frame.

Back to the Table of Contents


Author: Dennis Kennedy
Copyright © 1998 dkFlyer
If you have any questions, email me.

Hosted by www.Geocities.ws

1