My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 335: How to change event background color
2 people starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Feb 2010


Sign in to add a comment
 
Reported by samanta....@gmail.com, Feb 11, 2010
Hi Adam,

I want to change the background color for every event when date will be
over from present date. Now every event background color is blue but if I
click on any event so can change background color by eventclick. But I want
to change automatically to every event if date is over from present date.
So how I will change this color?
Feb 12, 2010
#1 ZacGross

You can change the background color of specific events by setting the className 
property on the event object.

Have a look at: http://arshaw.com/fullcalendar/docs/event_rendering/Colors/
Feb 26, 2010
Project Member #2 adamrs...@gmail.com
thanks zac.

yeah, in your feed-generating-script, i would specify a className for all events after 
the present (and have css to style it)
Status: Done
Sign in to add a comment

Powered by Google Project Hosting