| 7:39 pm on Apr 4, 2001 (gmt 0)|
The only thing I know of besides using SSI is to run an extended find-and-replace across all the files locally. But, they would still need to be uploaded.
Don't know of anything you can do across multiple files server-side. (Not sure I would want to try that, anyway.)
| 7:54 pm on Apr 4, 2001 (gmt 0)|
Haven't tested this out yet but it looks like it could be useful for performing find and replace on server-side files.
Recursive Find and Replace
info here [unimelb.edu.au]
| 8:38 pm on Apr 4, 2001 (gmt 0)|
>Lets say you have a navigation bar on the left side of every page and another navigation bar on the bottom of every page.
I'm doing exactly this using external .js files.
| 12:53 pm on Apr 5, 2001 (gmt 0)|
you could always use frames ;)
(extremely big grin)
| 12:54 pm on Apr 5, 2001 (gmt 0)|
How do you use external JS files for navigation?
| 1:38 pm on Apr 5, 2001 (gmt 0)|
>external JS files for navigation
I use document.write to create text navigation links or even drop-downs as a function in the external js file. The web pages themselves just call the function, so they never change. To update the links or add a seasonal message, I just modify the js file once and that's it.
| 3:37 pm on Apr 5, 2001 (gmt 0)|
I never thought using document.write for nav bars. Thats a pretty cool idea.
| 5:05 pm on Apr 5, 2001 (gmt 0)|
I actually write a series of nav bars in different external js files, some for site-wide or global, another for the category (regional), and another for small subsets of pages that belong in a logical group (local). In the header, I call two js files, the global and the regional/local. Then, depending on where I am in the site, I mix and match nav bars -works great. The matrix that you can achieve with 60 nav files is pretty staggering.
This method also lets you navigate multiple domains or even servers.
| 5:42 pm on Apr 5, 2001 (gmt 0)|
Thanks guys. It looks like I'm stuck using SSI. I would love to use frames but the search engines don't index frames, darnit, darnit, darnit - lazy bums. Frames are awesome for using with websites. I once created a website using frames that looked like an open book. You would surf the inside page of the book.
I've thought about using external js files to do the navigation but I don't want to lose traffic and have big sections of my website blank because someone has it turned off.
So I guess all static websites out there use SSI?
| 6:25 pm on Apr 5, 2001 (gmt 0)|
>So I guess all static websites out there use SSI?
Apparently many of them are. I'm planning on switching to it myself over the next year or so because of the SEO benefits.
Some sites are using scripts to build static pages from a database and templates.