|
-
Nov 18th, 2006, 07:32 AM
#1
Thread Starter
New Member
Navigation menu advice
I was hoping someone might be able to direct me to any resources that could help with the following task I have set myself (much searching on google etc has yet to produce one).
I am creating site that has quite a few pages and would like the navigation menu to be an external piece of xhtml code that can be imported so that, say, I need to add or subtract a link - I do not have to do it across upwards of 25 pages. I'm aware that PHP has an include() function that would be useful, BUT, this is not the preferred option (as is iFrames). How else can I import this menu list into each .html file?
-
Nov 19th, 2006, 10:36 AM
#2
Re: Navigation menu advice
1) Frames: bad option.
2) iFrames: bad option.
3) Server-side includes (SSI): good option. Literal include of another document.
4) Simple include() in your favourite server-side language: moderate option. Does not preserve separation of concerns.
5) Server-side language with templates, include in the template language: good option.
All the buzzt
 CornedBee
"Writing specifications is like writing a novel. Writing code is like writing poetry."
- Anonymous, published by Raymond Chen
Don't PM me with your problems, I scan most of the forums daily. If you do PM me, I will not answer your question.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|