Douglas Knudsen wrote: > you want all days with event 1 say blue, then all days with event 2 > green, etc...??? If so, build a structure daColours with keys as the > event ids. > > daColours[eventid1] > daColours[eventid2] > daColours[eventid3] > > > Then use something like the below > <span style="color:#<cfoutput>#daColours[eventid]#</cfouput>;">Eventid</span> > get the idea?
The problem is - I need every other listed *DAY* a different color - regardless of how many events may be listed for that particular day. So if Monday list 8 events, they'd all be green. Tuesday has no events and isn't listed. Wednesday has only one event and is blue. Thursday has 4 events and all are green again. Friday has none and is skipped - Saturday has 2 and they're all blue. So, and odd/even row (MOD2) doesn't work Odd/Even dates don't work, because a date might have no events and you end up with two even dates listed next to each other. -- ----------- 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:200372 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

