Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

chameleon81

macrumors 6502
Original poster
May 16, 2006
434
0
Hi,

How is it possible to share the same navigation bar on every single page of the site without coding every single page.


I found SSI feature which uses include method.

Is there any other method for this ?


Thank you
 
Hi,

Isn't possible to achive this without using server side languages?


I'm looking for a pure HTML solution if there is any.


Thank you
 
Unfortunately, what you require is not possible in pure HTML, unless you paste your coding in directly into each of your files. HTML is simply a markup language, telling your browser how content should be displayed. The only real "programming" it can do are conditional statements for browser detection

Although it may seem daunting, server-sided languages are quite easy, weather it is the .net framework like ASP, or open sourced like PHP etc. There are plenty of tutorials around, including at php.net, w3schools.com, and tizag.com.
 
The only alternative is frames, but they are an old technique that is kind of frowned upon anymore and have issues of their own.
 
You could look into a Ruby based, templating/baking engine called Jekyll.
It basically allows you to set up templates and re-use stuff so you can bake them and upload the baked results.
 
Thanks guys.

I ll check Dreamweaver templates for right now.

Then hopefully I will try to learn PHP
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.