Forum Moderators: mack
thanks in advance!
Yes, what you describe is a common practice. Some folks have used JavaScript to push navigational pages into their site but that doesn't work too well for those folks that have JavaScript turned off in their browsers.
The common practice is to include a *chunk* of common code into each of your pages with server-side technology like Apache's Server Side Includes or perhaps a scripting language such as Perl, PHP, ASP, etc. This way, you create the navigational code segment once and modify it it one place. Then, in each of your pages that will require the navigational menu to be present you simple "include" that piece of code. Think of it as pulling all the pieces of the finished document together on the server before sending it back to the requester.
what will that do?
adproducts, it's quite easy for you to find that out for yourself. In Dreamweaver:
- click 'help'
- click 'using dreamweaver'
- click 'search'
- type in 'template'
and it'll tell you all about it:
One of the most powerful uses of templates is the ability to update multiple pages at once. A document that is created from a template remains connected to that template (unless you detach the document later). You can modify a template and immediately update the design in all document based on it.
best, a.