Is there a way without buying like dreamweaver that I can edit all my pages navigation at once? It takes forever doing it indevidually...
thanks
Is there a way without buying like dreamweaver that I can edit all my pages navigation at once? It takes forever doing it indevidually...
thanks
You don't need Dreamweaver. What you need are server-side includes, which means you need PHP or .net.
Hi Nailgunpro,
The above poster is right, you'll need to utilized server-side includes. They didn't really do a good job in explaining it though, so I wanted to point you to tech_support's tutorial in doing this in PHP.
You can find it in the Tutorials forum (link).
That is a good tutorial, however there is an easier way.
First start by building your navagation in HTMl, CSS or whatever. Save the file as .inc ("yourfilename.inc").
Second save your webpages as .shtml files ("yourindex.shtml").
Then insert this code on the pages where you would like the navagation to appear: <!--#include virtual="yourfile.inc" -->
Then by simply editing the .inc file you can change all the navagation on every page at once. I use this method on all of my sites, and it really makes life easier.![]()
Last edited by Jinglebelle; 03-28-2008 at 06:12 PM.
Nailgunpro (04-03-2008)
That assumes your host supports SSI, and also that you don't want more control as given by PHP/etc. It works, though, in some cases.
Daniel - Freelance Web Design | <?php?> | <html>| español | Deutsch | italiano | português | català | un peu de français | some knowledge of several other languages: I can sometimes help translate here on DD | Linguistics Forum
wow thanks
If you don't mind using an iframe and innerHTML, you can do it with a simple (java-)script, see here.
-----
Arie Molendijk
Or you can use ajax and have it update every mili. sec.
Plus, why would you use an iframe when you should use a frameset?
Jeremy | jfein.net
Bookmarks