head.js("/js/vendor/calendario/jquery.calendario.js");
var codropsEvents = {
'01-19-2024' : '7pmSwitchfoot and Johnnyswim Concert!Tickets',
'11-29-2018' : '11amChipotle Fundraiser!',
'10-12-2018' : '6pmYogurtland Fundraiser! 11 AM - 11 PM',
'12-11-2018' : '3pmKyle’s Kitchen Restaurant Fundraiser (Calle Real)',
'10-29-2018' : '3pmBlaze Pizza Fundraiser + Halloween Celebrity Chef Night!',
'10-28-2018' : '3pmBlaze Pizza Restaurant Fundraiser',
'10-27-2018' : '3pmBlaze Pizza Restaurant Fundraiser',
'12-07-2018' : '3pmKHK in SB Downtown Holiday Parade',
'11-29-2018' : '3pmChipotle Fundraiser',
'10-26-2018' : '3pmBlenders In The Grass Fundraiser',
'10-26-2018' : '3pmBlaze Pizza Restaurant Fundraiser',
'09-27-2018' : '2pmCalifornia Pizza Kitchen Fundraiser',
'11-09-2017' : '4pmKids Helping Kids Movie Night',
'01-09-2018' : '4pmChipotle',
'01-02-2018' : '4pmChik-fil-A',
'12-13-2017' : '4pmHollister Brewing Company Restaurant Night',
'11-29-2017' : '4pmBlaze Restaurant Night',
'11-08-2017' : '3pmKyle’s Kitchen Restaurant Night',
'12-01-2017' : '3pmDowntown Holiday Parade feat Kids Helping Kids',
'01-13-2018' : '3pmKids Helping Kids 10th Anniversary Concert featuring NEEDTOBREATHETickets',
'01-12-2018' : '3pmKids Helping Kids 10th Anniversary Concert featuring Andy GrammerTickets',
'12-08-2017' : '3pmRoyals Got Talent',
'12-09-2017' : '3pmKids Helping Kids Winter Ball',
'11-08-2017' : '3pmKyle’s Kitchen Fundraiser',
'10-26-2017' : '10amCPK Restaurant Fundraiser',
'10-05-2017' : '4pmChipotle Fundraiser Night',
'01-10-2017' : '12pmSilent AuctionTickets',
'01-14-2017' : '1pmKids Helping Kids Benefit ConcertTickets',
'11-18-2016' : '10amBenefit Concert Tickets On Sale',
'12-15-2016' : '5pmPizza Nizza Restaurant Night',
'12-10-2016' : '8pmWinter Ball',
'12-02-2016' : '3pmHoliday Parade',
'11-29-2016' : '5pmCPK Restaurant Night',
'11-17-2016' : '5pmPanera Restaurant Night',
'12-09-2016' : '6pmRoyals Got Talent',
'12-02-2015' : '12pmPizza With a Purpose: CPK Fundraiser',
'01-08-2016' : '10amNEEDTOBREATHE Second Night!Tickets',
'01-08-2016' : '8amNEEDTOBREATHE 2016 KHK Benefit ConcertTickets',
'12-04-2015' : '6pmHoliday Parade',
'11-04-2015' : '5pmChipotle Fundraiser',
'12-02-2015' : '2pmCalifornia Pizza Kitchen Fundraiser',
'12-16-2015' : '2pmPersona Pizza Fundraiser',
'12-11-2015' : '7pmRoyals Got TalentTickets',
'12-12-2015' : '1pmWinter Ball',
'10-10-2015' : '10amNEEDTOBREATHE 2016 KHK Benefit Concert: Ticket Sales BeginTickets',
'10-07-2015' : '12pmPizza Mizza Fundraiser',
'10-02-2015' : '4pmBlenders in the Grass Fundraiser',
'01-10-2015' : '10amAnnual Benefit Gala ft. Ingrid MichaelsonTickets',
'12-12-2014' : '12pmRoyals Got Talent',
'10-22-2014' : '11pmLil’ Spooky’s Birthday',
'12-18-2014' : '10amPersona Pizza Fundraiser',
'12-05-2014' : '6pmHoliday Parade',
'12-12-2014' : '7pmRoyals Got Talent',
'12-06-2014' : '7pmWinter Ball 2014',
'11-06-2014' : '1pmCalifornia Pizza Kitchen Dinner Night',
'11-06-2014' : '11amCalifornia Pizza Kitchen Fundraising Night',
'10-28-2014' : '6pmPizza Mizza Fundraiser Night',
'10-16-2014' : '11amBlenders In The Grass',
'12-31-2011' : 'New Year\'s Eve'
};
head.ready(function() {
var cal = $( '#calendar' ).calendario( {
onDayClick : function( $el, $contentEl, dateProperties ) {
for( var key in dateProperties ) {
console.log( key + ' = ' + dateProperties[ key ] );
}
},
caldata : codropsEvents
} ),
$month = $( '#custom-month' ).html( cal.getMonthName() ),
$year = $( '#custom-year' ).html( cal.getYear() );
$( '.custom-next' ).on( 'click', function() {
cal.gotoNextMonth( updateMonthYear );
} );
$( '.custom-prev' ).on( 'click', function() {
cal.gotoPreviousMonth( updateMonthYear );
} );
$( '.custom-current' ).on( 'click', function() {
cal.gotoNow( updateMonthYear );
} );
function updateMonthYear() {
$month.html( cal.getMonthName() );
$year.html( cal.getYear() );
}
});