Monty Scroggins wrote:
Shawn K. Hall wrote:
I would rather use classes to assign display styles, so they can be
controlled globally in the CSS with a single change. Otherwise if
they've also customized their look and feel they'll have to go
through the events and one-by-one change them to a working color.
  
Hi Shawn,

Actually I didn't use a class so the events *could* be color coded individually...  I have a couple different kinds of events in my localdefs file, each with their own color... 

If the color tag is omitted or empty, the class for events gets implemented, and the calendar will display like it does now..   If someone has customized their color scheme, their modifications should not be affected.   I don't think backward compatibility should be an issue.. 

Hi Shawn, Kim

Actually what about doing both? 

I added a classes localcaleventday and  localcaleventdayhigh to my search.css, duped the eventday_start() to localeventday_start(), changed the class definitions inside it for the new local ones, and changed the call for local events to call the localeventday_start()..

It allows for a general color to be defined for local events, and the flexibility of overriding the color in the event definition if desired..

What do you think?

Monty 




Reply via email to