This page is all about frames,
basic to be sure, but complicated enough.
I am not real keen on these but it does kind of grow on you once you get going.
Basically this involves 3 html files. The frameindex.html, the menu.html & the main.html. You do need to remember to size your menu graphics according to the width of your menu.
The transitional code for your frameindex.html is as follows:
<--!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0
Frameset//EN"
"http://www.w3.org/TR/REC-html40/frameset.dtd">
< html>
< head>
< title>19 Frames
< /head>
< frameset cols="180,*" border="0">
< frame src="menu.html" name="menu">
< frame src="main.html" name ="main">
< /frameset>
< /html>
Notice there are NO body tags, these are replaced with the frameset tags.
(also there are no spaces after the "< ". I put them in so you can see the code.)
Then you just do your normal main page and a smaller version for the menu.
You will also notice that the two lesson links in the left hand menu
will open here in the main window,
a simple < a href="url" target="main" > will do that.
The other links open in a new window by substituting "new"
for "main" in the target of your "url".
Voilá! There you have it!
Click the arrow
to choose
where you would like to go
|
|
|
Web design tubes & photos © sdh
|