Frames
Frame Instructions
These are contained in a file named index.htm
These Web Page sets up the FRAMESET and does not employ the usual <BODY>...</BODY> tags.
<html>
<head>
<title>Frames</title>
</head>
<frameset frameborder="no" framespacing="0" rows="87,*">
<frame src="topFrame.htm" name="topFrame" NORESIZE SCROLLING="NO">
<frameset frameborder="no" framespacing="0" cols="150,*">
<frame src="Menu.htm" name="menuFrame" NORESIZE SCROLLING="NO">
<frame src="Main.htm" name="mainFrame" SCROLLING="AUTO">
</frameset>
</frameset>
</html>
Top Frame HTML (Web page)
This is a normal web page, which controls the content of the FRAME named topFrame.
It has the filename topFrame.htm
<html>
<head>
<title>Top Frame</title>
</head>
<body bgcolor="#FFFF00">
<h2>Top Frame</h2>
This frame would contain a title banner or company logo.
</body>
</html>
Menu Frame HTML (Web page)
This it the HTML web page for the FRAME named menuFrame. This Frame would contain
a series of hyperlinks to other pages. Its filename is Menu.htm
<html>
<head>
<title>Menu Frame</title>
</head>
<body bgcolor="#FF00FF">
<h2>Menu Frame</h2>
This Frame would contain a series of hyperlinks to other pages.
<p>Link 1<br />
Link 2<br />
Link 3<br />
Link 4<br />
Link 5
</body>
</html>
Main Frame HTML (Web page)
This it the HTML web page for the FRAME named mainFrame. This Frame would contain
the sites main content. The sites main pages would be targeted to be displayed
in this frame when the menu links were clicked. Its filename is Main.htm
<html>
<head>
<title>Main Frame</title>
</head>
<body bgcolor="#00FFFF">
<h1>Main Frame</h1>
This Frame would contain the sites main content.
<p>The pages would be targeted to be displayed in this frame when the
menu links were clicked.
</body>
</html>
Back to Top of Page
© 2002 Ashley Preston
|