Hi Tom,
No I hadn't done that, but using the 'echo' directive worked for me using
the following:

<!--#if expr="${DOCUMENT_URI} = /edc/arts/" -->
 <!--#set var="BG_COLOR" value="green" -->

 <!--#elif expr="${DOCUMENT_URI} = /edc/festivals/" -->
  <!--#set var="BG_COLOR" value="red" -->

 <!--#elif expr="${DOCUMENT_URI} = /edc/music/" -->
 <!--#set var="BG_COLOR" value="#ffd700" -->

 <!--#elif expr="${DOCUMENT_URI} = /edc/sports/" -->
<!--#set var="BG_COLOR" value="grey" -->

     <!--#else -->
<!--#set var="BG_COLOR" value="black" -->

<!--#endif -->
td.footer { background-color: <!--#echo var="BG_COLOR" -->; }
td.header { background-color: <!--#echo var="BG_COLOR" -->; }

however I will bear your comments in mind as I dabble a little more.
btw in case any else is interested in dabbling a good starting point is:

http://www.bignosebird.com/ssi.shtml

----- Original Message -----
From: "Cyberspace Publishing" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Saturday, November 30, 2002 11:15 AM
Subject: [wdvltalk] Re: Weekend dabbling: shtml question


> Did you create text files such as "red.txt", etc.? If you set the
> var as "red" and then use the var in a filename, the file it will
> be looking for is [var].txt... or, in the above case, "red.txt"
>
> Cheers,
> Tom
>
> >Do I need to create the variable in the
> >config file  to get this to work ( I don't have access permission for
that)
> >or am I missing something very obvious??
> >
> >TIA
> >
> >
> >
> >---
> >Outgoing mail is certified Virus Free.
> >Checked by AVG anti-virus system (http://www.grisoft.com).
> >Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/02
> >
> >
> >____ . The WDVL Discussion List from WDVL.COM . ____
> >To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
> >        Send Your Posts To: [EMAIL PROTECTED]
> >To change subscription settings to the wdvltalk digest version:
> >     http://wdvl.internet.com/WDVL/Forum/#sub
> >
> >________________  http://www.wdvl.com  _______________________
> >
> >You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> >To unsubscribe send a blank email to %%email.unsub%%
>
>
> ____ . The WDVL Discussion List from WDVL.COM . ____
> To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED]
>        Send Your Posts To: [EMAIL PROTECTED]
> To change subscription settings to the wdvltalk digest version:
>     http://wdvl.internet.com/WDVL/Forum/#sub
>
> ________________  http://www.wdvl.com  _______________________
>
> You are currently subscribed to wdvltalk as: [EMAIL PROTECTED]
> To unsubscribe send a blank email to %%email.unsub%%
>
>


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.422 / Virus Database: 237 - Release Date: 20/11/02


____ � The WDVL Discussion List from WDVL.COM � ____
To Join wdvltalk, Send An Email To: mailto:[EMAIL PROTECTED] 
       Send Your Posts To: [EMAIL PROTECTED]
To change subscription settings to the wdvltalk digest version:
    http://wdvl.internet.com/WDVL/Forum/#sub

________________  http://www.wdvl.com  _______________________

You are currently subscribed to wdvltalk as: [email protected]
To unsubscribe send a blank email to [EMAIL PROTECTED]

Reply via email to