A BIG thanks to everyone.
I have changed all Javascript to SSI
It was really quite simple with search and replace to strip all Javascript and get back to raw html, which I then saved in a text file for SSI.
Thanks again
http://www.engs-comp.com/
The quoted comment came from...
http://httpd.apache.org/docs/1.3/howto/ssi.html
But I am concerned about "If your navigation is hidden in JS, Google won't be able to spider your site." My navigation comprises a list of variables, like...
<script type="text/javascript" language="JavaScript">...
It is so frustrating when you know exactly what you want to achieve, but you don't know the best way to do it, like 'how to eliminate the border around "iframes"'? "border = 0" doesn't work!
http://www.engs-comp.com/
vacunita, thank you
I have no problem with "width" - it is the width of my centre column.
I have a problem with "height" and "scrolling" - is it possible to adjust the height to suit the size of the article so that "scrolling" is not necessary?
Finally, instead of "noarticlepage.html", how...
But I like the idea of vacunita's iframe suggestion.
This seems to come closest to my original question.
Never used the command before, so I have to read up on it.
Thank you all, for your great comments!
http://www.engs-comp.com/
The reason I prefer Javascript is that I know nothing about SSI. However, reading up on it, I see this comment: "SSI is a great way to add small pieces of information, such as the current time. But if a majority of your page is being generated at the time that it is served, you need to look for...
Thank you all for your contribution.
Seems like "separate pages" is the way to go, because some are likely to be bookmarked.
To make it easy to upgrade, I'd use a Javascript variable for the article list.
Anybody know what percent of users have Javascript turned off?
Thanks again...
Here is another reason for just replacing part of the html code of a page - if the main menu or article pointer menu or fixed text blocks are changed, every article page has to be updated.
However, there may be a way of loading the "stationary" elements as Javascript variables? Say you have a...
Thank you such a prompt response.
Yes, the straight forward solution is to have a separate page for each article, each of which would recreate all of the menus and pointers and non-changing text blocks. This seems wasteful if it is possible to just replace the html code of one central text...
I have a page with a table (three columns).
The left column holds the site's main menu.
The right column holds pointers to articles.
The centre column holds several text blocks.
I want to replace one of those text blocks with another according to which pointer the user clicked in the right...
Maybe everybody knows this, but I learned it the hard way: Javascript treats y=="" and y==0 as being the same.
I have a little program that solves nonlinear equations online, see:
http://www.engs-comp.com/solvnonlinearequ/index.html
The evaluation function returns "" if an...
Dear Rieekan
WOW - I only posted the question a few minutes ago.
1. Yes, Javascript is my preferred language.
2. No - no further explanation is necessary because you set out every required factor so well even I can understand it (except document.findus - what's that?).
3. The HTML <form>...
I want to pass the value of two variables to a cgi task thus:
/domain/cgi-bin/task.cgi?name=realname&address=realaddress
var realname=GetCookie(name);
var realaddress=GetCookie(address);
How do I put the values of those vars into the querie string? As written, the task gets...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.