The Mechanics of Web Page Design: FramesWhy frames? In a word, navigation. As I'm sure you have observed, this class module uses frames. On the left, the guide post remains in place as you move about, aiding with navigation among these pages. The top frame, also stationary, clearly indicates the part of the course you are working with. I think you will agree that this works. I hope so at any rate. There are additional reasons to use frames. One that is important to me is that frames significantly reduce page maintenance effort.Now how to teach this "art" of frames. Why not just do it?
|
|
1. <!-- 07/31/96, FFL, 1st_fram.html,
a generalized frames template --> 2. <HTML> 3. <HEAD> 4. <TITLE> 5. Mechanics of Web Page Design: Frames Template 6. </TITLE> 7. </HEAD>
8. <FRAMESET COLS="m*, n*, ...">
12. <NOFRAMES>
15. </FRAMESET>
|
The purpose of all lines of the Frames template should be
self evident except perhaps lines 8 through 11. Let us examine these. 8. This line sets the number and the width of the of columns to be presented. m, n, ... are integers where each i* presents a column of i units in width. For example <FRAMESET COLS="3*,7*">
presents 2 columns the first is 3/10 of the page wide the second 7/10 wide.
9. A frame source file is required for each column except if the column is subsequently
subdivided into rows. If a file is not referenced the the column space is left blank.
10. By nesting FRAMESETS, as shown, we can subdivide columns into rows.
11. We of course need a source file for each row that is not subsequently subdivided into columns.
The process is symmetric with columns and rows interchangeable. The order of the "code"
is important since the process is linear with the browser responding to each line in order.
|
Now the hard part. Fill it out. Make it work. Like so:
Frames
|
An exercise for students: Prepare an argument for the use of frames and one against their use. Support each argument by at least one citation. You distance folks please post this exercise to our class mailing list.
|