HomePage - (site using FRAMES)
-
This is a new version of the website that uses HTML frames.
The site looks and acts the same way. The only difference
is that we are able to "factor out" some code
(i.e. the navigation code) that is
the same on all of our pages into a separate file.
To do this the following changes have been made to the code.
-
The code for performing the navigation has been moved out
of the home.html, hobbies.html, school.html and life.html.
Instead, the navigation code is now in a separate navigation.html
file.
-
The content for the home page has been moved out of the
index.html file into a new file named home.html.
-
The index.html file was converted into a file that
contains only <frameset> and <frame> tags. This
defines the layout of the website and which pages
are initially visible.
-
The frame that will contains content for the
site (i.e. not the navigation) is given a name
(the name is up to you but I called it "content").
This name is used in the tags that are in
the navigation.html file to specify the name
of the frame that should contain the page being
linked to. (e.g. <a target="content" href="hobbies.html">My Hobbies</a>).