Skip to content

Instantly share code, notes, and snippets.

@scottsappen
Created July 1, 2013 14:45
Show Gist options
  • Save scottsappen/5901453 to your computer and use it in GitHub Desktop.
Save scottsappen/5901453 to your computer and use it in GitHub Desktop.
Check out http://arshaw.com/fullcalendar for a terrific full calendar implementation.
1. Include the code
<script src="../Scripts/fullcalendar/fullcalendar.js" type="text/javascript"></script>
2. Include a div for your calendar
<div id="cal_viewcalendar"></div>
3. Setup your calendar
$("#cal_viewcalendar").fullCalendar({
theme: true,
events: "GetCalendars.aspx",
cache: true
});
4. Render it!
$("#cal_viewcalendar").fullCalendar("render");
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment