fullCalendar className to multiple eventSources

Posted by Justin on Stack Overflow See other posts from Stack Overflow or by Justin
Published on 2010-06-16T23:38:39Z Indexed on 2010/06/16 23:42 UTC
Read the original article Hit count: 1046

Filed under:
|
|
|

I am trying to setup my fullCalendar event sources. instead of pulling all of my events through 1 source, I would like to use multiple sources (ie: google, and local json)

Here is what I have so far (In short):

eventSources: 
[

//CA HOLIDAYS
$.fullCalendar.gcalFeed('http://www.google.com/calendar/feeds/en.canadian%23holiday%40group.v.calendar.google.com/public/basic', { className: 'holiday' }), 

//General events
'events.php?a=getAllCalendarEvents'

],

The problem that I am having is, I can get the gCalFeed to have a className, but not exactly sure how to get my other source to have a className...

Any ideas would be greatly appreciated.

© Stack Overflow or respective owner

Related posts about JSON

Related posts about calendar