franc wrote:
> hi,
>
> i have a website with several webpages. there are no frames at all in the
> website, but each webpage has the same code to create a menu at the side of
> the page. i was wondering how i could somehow have the menu code in a
> separate file and then get each page to load it on opening. this would make
> my website considerably easier to manage as i could change the menu on every
> page by altering just one file.
SSI was made for you. Actually, I think you have hit the nail on the
head as to why you need SSI.
<a style='text-decoration: underline;' href="http://bignosebird.com/ssi" target="_blank">http://bignosebird.com/ssi</a>
If in the future you need to do more complex stuff, like have a
dynamically generated menu, or want to move to templates, then PHP is a
more powerful alternative.
<a style='text-decoration: underline;' href="http://www.php.net" target="_blank">http://www.php.net</a>
PHP is a server-side programming language, and so you have a lot more
options, but can still include one file in another.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: dynamic html