change existing index page to frame template

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I would like to change my existing index.htm into a frames page. Can this be
done without losing all of the info on my existing page?
 
heb said:
I would like to change my existing index.htm into a frames page. Can
this be done without losing all of the info on my existing page?

A typical frameset page is

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Frameset//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<!-- index.html -->
<head>
</head>
<frameset rows="90,*">
<noframes>
<body>
To view this document, you need a frames-compatible browser
such as Netscape 2.0 and above.
</body>
</noframes>
<frame src="heading.html" name="heading" scrolling="auto"
noresize="noresize" />
<frameset cols="140,*">
<frame src="sidebar.html" name="sidebar" scrolling="auto"
noresize="noresize" />
<frame src="index_main.html" name="index_main" scrolling="auto"
noresize="noresize" />
</frameset>
</frameset>
<!-- -->
</html>

There are many reasons not to use frames, as you may see on this NG. But, if
you want to use frames, copy index.htm to index_main.html and use the above
code. Of course, in this case you also need the other 2 frame pages.
 
Back
Top