![]() |
Available news archives:
comp.lang.tcl
-
comp.lang.python
-
comp.security.firewalls
-
sci.crypt -
comp.lang.php -
comp.lang.javascript
|
|
comp.lang.javascript archiveRe: [HS SSI] SSI with javacript - syntax problem.
From: ASM <stephanemoriaux.NoAdmin@wanadoo.fr.invalid>
Date: Wed Aug 31 2005 - 14:04:23 CEST
Paul wrote:
the change of content with SSI can only be made by loading on server
You can use in SSI server request about url of document
The JS will run after SSI instructions did
here is a plan with SSI only
file 'page.shtml' :
<!--#set var="Gotn" value="$QUERY_STRING" -->
<!--#if expr="$Gotn = /. 4T ./" -->
<!--#elif expr="$Gotn = /. 4F ./" -->
<!--#elif expr="$Gotn = /. 4S ./" -->
<!--#elif expr="$Gotn = /. 41T ./" -->
<!--#endif -->
<html>
SSI instruction :
<!--#if expr="$Gotn = /. 4T ./" -->
verify if '4T' exists inside value of ssi variable : $Gotn
if yes, following html code is writen on page
if not, is ? :
You can use this procedure to create on loading your menus
-- Stephane Moriaux et son [moins] vieux MacReceived on Tue Oct 18 03:15:09 2005 |