Forums

This topic is locked

Conditional Colour Changes based on Calculation

Posted 18 Oct 2007 15:47:16
1
has voted
18 Oct 2007 15:47:16 Graham Hefford posted:
Hi

I have a calculation (see below) that if the result is less than the answer is in red, and if more than in white

<% Dim ShipL1Total %>
<% = Session("ShipTotals1" - Session("ShipTarget1" %>

<%if (ShipL1Total > Session("ShipTarget1") then
Response.Write("<font color=#003e80>(ShipL1Total)</font>"
ELSE
Response.Write("<font color=#003e80>(ShipL1Total)</font>"
End If
%>

Can anyone help in getting this working

Thanks

Replies

Replied 19 Oct 2007 10:27:19
19 Oct 2007 10:27:19 Georgi Kralev replied:
Hi Graham,

I have replied to your question at the following thread:

www.dmxzone.com/forum/topic.asp?topic_id=39835

Please, follow the forum rules and do not cross post.

Regards,



Georgi Kralev

----------------------------------
Support - www.DMXzone.com

Reply to this topic