O
Oli Filth
Kate said:I have been looking for ways to be able to only change my menu from one file
for quiet a while now. And over the last few days have been reading some of
the posts on topics relating to this. I even downloaded the programme
includeHTML, ( http://rosenlundnielsen.dk/software/ ) after reading the
link http://www.allmyfaqs.com/faq.pl?Include_one_file_in_another that Mark
Parnell pointed out, but I don't understand how it works. No matter how
much I read and re-read the help file included in it.
My server supports php but I also don't know enough about that at the moment
to use it. In time I do intend to learn more on these subjects, as I taught
myself html and css. But being a single working mother, doesn't give me the
time I would like to spend learning more on these issues.
So now I was wondering if I had the menu inside a javascript file with ccs
for layout, how well do search engines do with this format? At the moment I
have a site with frames and a non-frames version for those that don't
support it, but I would so much rather have just the one that I could update
the menu from one file.
Any information on this subject would be really, really gratefully received.
If you have PHP on your server, this would be by far the best way to do
this. I would recommend trying to learn PHP, as it can do loads of
useful stuff.
To solve your menu problem, rename all of your .htm files as .php files.
Then, wherever you want your menu to appear in your HTML, insert the
following code:
<?php include "menu.htm"; ?>
Put the HTML for the menu in menu.htm.