Quote:
|
Originally Posted by LazyJim
The point is the user is always in the same page, same HTML document, the content of that page changes only.
|
This I get and understand, but there is only two ways (not counting user input) to change the content of the page, either its written into the page to start with, ie front loading all the text/html into something like a javascript array, or you are fetching new data from the server via includes, php, etc. You can keep the same HTML page, put everything that changes inside a DIV block that you re-write via innerHTML, but it doesnt get around the fact that you either already have the data client side, or you need to request it from the server.
There is a way to alter the XSL file, thus changing what XML data is displayed to the user, completely with javascript. However it only works in IE, plus it doesnt get around the fact that you need to send all the data via XML, which is the same problem as front loading via javascript. You can do server side XSL transformation, but again this calls for a server query, which basically re-writes your HTML page to a new one.
Guess I am out of ideas.
Cul