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

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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:4:200313
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=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to