My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 48: Change css class of an event
1 person starred this issue and may be notified of changes. Back to list
Status:  Done
Owner:  ----
Closed:  Jun 2009


Sign in to add a comment
 
Reported by zineb.me...@gmail.com, Jun 30, 2009
Hi.

I want to add a new class on my event so i do this:
id:{$prestation.pre_id_pk},
title:" {get_initiales($resp_name)} "+" Prestation N :
"+{$prestation.pre_id_pk},	

start: new
Date({date_year($prestation.pre_datecreation)},{date_month($prestation.pre_datecreation)}-1,

{date_day($prestation.pre_datecreation)}),          
className:".test",

It doesn't worked,can you help how we can add my class test on fullcalendar
css file.

I wnat to add this new class so specify the color of the background of a
special events.

Thank you.
Jun 30, 2009
Project Member #1 adamrs...@gmail.com
i really cannot understand your code at all. to change the color of certain events,
use the 'className' attribute of a CalEvent object
(http://arshaw.com/fullcalendar/docs/#calevent-objects)

then change the color in your css. there is a commented-out example in fullcalendar.css
Status: Done
Jun 30, 2009
#2 zineb.me...@gmail.com
Thank you a lot...



Sign in to add a comment

Powered by Google Project Hosting