fullcalendar test

In this example below you will see how to do a fullcalendar test with some HTML / CSS and Javascript

Thumbnail
This awesome code was written by eaglewebclass, you can see more from this user in the personal repository.
You can find the original code on Codepen.io
Copyright eaglewebclass ©
  • HTML
  • CSS
  • JavaScript
    	<div id='loading'>loading...</div>
	<div id='calendar'></div>


/*Downloaded from https://www.codeseek.co/eaglewebclass/fullcalendar-test-gbRZVq */
    


/*Downloaded from https://www.codeseek.co/eaglewebclass/fullcalendar-test-gbRZVq */
    	$(document).ready(function() {
	
		$('#calendar').fullCalendar({

			googleCalendarApiKey: 'tu751agnibjen8eb098h8apvto@group.calendar.google.com',
		
			// US Holidays
			events: 'usa__en@holiday.calendar.google.com',
			
			eventClick: function(event) {
				// opens events in a popup window
				window.open(event.url, 'gcalevent', 'width=700,height=600');
				return false;
			},
			
			loading: function(bool) {
				$('#loading').toggle(bool);
			}
			
		});
		
	});


Comments