Click to See Complete Forum and Search --> : Wat is the easiest way


xoxoPAMxoxo
08-30-2006, 09:51 AM
I would like to make an html file and need help on starting. I have basic knowledge of html and that's about it :) What I need sounds so simple but can't get started.

I have a logo, underneath the logo, i have links people can click on, e.g., HOME, HELP, ABOUT, etc. (let's call this the header) this part of the file does not change.

Then I'd like something like a footer, where my address, phone number, fax number, etc. can be shown, this part of the file does not change either (let's call this the footer).

Now the body of the html (lets call this the body). by default should show information about HOME. When the user clicks on HELP, it will show that information, same when they click on ABOUT, and so on.

I was thinking of using 3 row table, 1 column. I just don't know how to change the information on the BODY part :(

TheBearMay
08-30-2006, 10:11 AM
The easiest way might be to create a header file, a footer file and 3 shtml (server processed html) pages. On each html page include the header and footer, and then place the content for each in between the includes. Thus the page template becomes:


<!--#include virtual="pathtoFile\Header.htm" -->

Content.

<!--#include virtual="pathtoFile\Footer.htm" -->

To do it in one file will require the use of a scripting language (JS or a server side language) or the use of frames/iframes.