On PGS Online, I have a menu in a table at the top. This menu is the same on every page, but when we add to the site, I don't want to have to go through every file and type in the edit. Is there any HTML code that will take the text from a .txt file and display it?
As far as load on the server... Javascript would be better since there is no extra processing on the servers part. AS far as consistency in your site, SSI is the best because it doesn't rely on client side technology.
------------------
Wayne Luke
The Majormud Encyclopedia - www.bloodquest2.com
Come Play one of the hottest games on the net.
I use Javascript, but I am considering SSI, esepcially since it will allow me to configure the menu link colours, etc. Differently without having to use CSS, which isn't all that widely supported yet.
can I do the same thing as with text but include, lets say, a table in the document.write("..")? Is there any other way besides JS and SSI to do that? (Some servers dont support SSI)
SSI is "Server Side Includes", meaning the server does the work, not the browser. Browser age has nothing to do with it. The test you include, however, may or may not work with older browsers.
Meaning if you include a text file with HTML that is not supported in early browsers, it won't work (same as usual).
I want to do the same thing, but my server doesn't support SSI and I'm using a free host - no cgi-bin etc. Is there no way that you can use HTML or something else to insert the file contents? I also don't want to use Javascript, as I don't want visitors with older browsers not to see the menus.
Bookmarks