<cfif yourQuery.Status EQ "OFFLINE">
colour the font red here
<cfelseif yourQuery.Status EQ "ONLINE">
colour the font green here
</cfif>
Something like that?
Ade
-----Original Message-----
From: Scot VanAlstine [mailto:[EMAIL PROTECTED]
Sent: 03 March 2005 14:32
To: CF-Newbie
Subject: change font color based on content
Here's a fun one. I have written a little app that lists the status info on
4 different printers in our building. It reads the data from a database and
displays it on a status webpage.
What I would like to do is if the status field reads "OFFLINE" display it in
a red font.
If the status field reads "ONLINE" display it in green font. I haven't a
clue on how to do it.
Anyone??
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.300 / Virus Database: 266.6.0 - Release Date: 02/03/2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Find out how CFTicket can increase your company's customer support
efficiency by 100%
http://www.houseoffusion.com/banners/view.cfm?bannerid=49
Message: http://www.houseoffusion.com/lists.cfm/link=i:15:715
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/15
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:15
Unsubscribe:
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54