Would you be able to post the output code?

-----Original Message-----
From: Les Mizzell [mailto:[EMAIL PROTECTED]
Sent: 29 March 2005 00:49
To: CF-Talk
Subject: Re: Alternating Row Colour - Sorta


Adrian Lynch wrote:
> How about looking back at the previous day to see if it's changed.
>
> <cfif CurrentRow NEQ 1 AND Day(query["date"][CurrentRow]) NEQ
> Day(query["date"][CurrentRow - 1])>
>       Change colour
> </cfif>


That's close, but not quite.

Test Page here:
http://www.stpaulscolumbia.com/calendar_test.cfm

I used this:

<cfif CurrentRow NEQ 1 AND Day(calendar["event_date"][CurrentRow]) NEQ
Day(calendar["event_date"][CurrentRow - 1])>
<cfset myCSS = "eventWHITE">
<cfelse>
<cfset myCSS = "eventYELLOW">
</cfif>


--
-----------
Les Mizzell



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:200315
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to