Thanks. I'll try it tomorrow and let you know. G'night.
> -----Original Message----- > From: Viktor Sokol [mailto:Viktor@;Sokol.us] > Sent: Wednesday, October 23, 2002 8:52 PM > To: Mark Seniow > Subject: Re[2]: [SA-list] SAIF and SA_STATUS conditions > > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Hello Viktor, > > Sorry, second script contain errors, here is good one: > > > With font something like: > <td <% if "<SA_STATUS>"="MAINTENANCE" then > Response.Write > "bgcolor='ff0f00'" %>><SA_STATUS></td> > > > > Wednesday, October 23, 2002, 8:02:27 PM, you wrote: > > VS> -----BEGIN PGP SIGNED MESSAGE----- > VS> Hash: SHA1 > > VS> Hello Mark, > > VS> Use server side scripts, ASP for example > > VS> here is some axamples: > > VS> <td><img src="<SA_STATUS>.gif" title="<SA_STATUS>"></td> > > VS> To set your pictures, simply save gifs with names UP, DOWN, > MAINTENANCE, > VS> UNAVAILABLE, UNCHECKED all have extention *.gif > > VS> With font something like: > VS> <td <% if <SA_STATUS>="MAINTENANCE" then > Response.Write > VS> "bgcolor='ff0f00'" %>><SA_STATUS></td> > > > VS> I`m trying to use only server side scripts with includes to > VS> keep original file smaller, `case its can slow down your SA if > VS> you`ll make a very big template. > > > > > > > VS> Wednesday, October 23, 2002, 4:27:04 PM, you wrote: > > MS>> I'm trying to change the background colour of a cell based on the > state > VS> of > MS>> SA_STATUS. While I know that two valid states are 'up' > and 'down' > MS>> I > VS> can't > MS>> seem to get 'maintenance' to work. Is this what I should be > MS>> checking > VS> for? > MS>> are the possible vlues up, down, maintenance, unavailable, > MS>> unchecked? > > MS>> My code is ... > > MS>> <TR bgcolor="<saif sa_status is down>red</saif><saif sa_status is > up>>>green</saif><saif sa_status is maintenance>yellow</saif>"> > > > MS>> Also, > > MS>> In the above example what happens if neither of the > conditions have > VS> been > MS>> met? Is there a way to put in an value for ELSE condition? > > MS>> Thanks! > > > MS>> - Mark > > MS>> Mark Seniow - [EMAIL PROTECTED] > MS>> S.M. Internet Solutions Inc. > MS>> Richmond Hill, ON 905-770-4481 > MS>> To unsubscribe from a list, send a mail message to > VS> [EMAIL PROTECTED] > MS>> With the following in the body of the message: > MS>> unsubscribe SAlive > > > > VS> - -- > VS> Best regards, > VS> Viktor mailto:Viktor@;Sokol.us > > VS> -----BEGIN PGP SIGNATURE----- > > VS> iQA/AwUBPbc4m9RWLZ9fN9MlEQJ7OwCgh7uIIRXu+nxih1VfuP6U8oYbq7EAnjM6 > VS> XyK+VQtpxgYL6QOYTYYFmLKG > VS> =bd8h > VS> -----END PGP SIGNATURE----- > > VS> To unsubscribe from a list, send a mail message to > [EMAIL PROTECTED] > VS> With the following in the body of the message: > VS> unsubscribe SAlive > > > > - -- > Best regards, > Viktor mailto:Viktor@;Sokol.us > > -----BEGIN PGP SIGNATURE----- > > iQA/AwUBPbdEQNRWLZ9fN9MlEQI+EgCg0yahGoWp9Bgv8futUi0bM8ZZG9UAoNrg > ZqZLHlxMw/stlTnuQkftxckm > =4uYy > -----END PGP SIGNATURE----- > > To unsubscribe from a list, send a mail message to > [EMAIL PROTECTED] With the following in the body of the message: > unsubscribe SAlive > To unsubscribe from a list, send a mail message to [EMAIL PROTECTED] With the following in the body of the message: unsubscribe SAlive