eventSources 1.2
A way to specify multiple event sources.
This option is used instead of the events option.
It can take an Array of Arrays/Functions/URLs (anything that the events option would take).
Here is an example calendar that displays two JSON feeds:
$('#calendar').fullCalendar({
eventSources: [
'/feed1.php',
'/feed2.php'
]
});
Here is how you would display two Google Calendars:
$('#calendar').fullCalendar({
eventSources: [
$.fullCalendar.gcalFeed("http://www.google.com/feed1"),
$.fullCalendar.gcalFeed("http://www.google.com/feed2")
]
});
More info on displaying Google Calendars can be found here.
|