A mini calendar with events JQuery plugin.
- Download mini-event-calendar.min.js and mini-event-calendar.min.css
- Include them in your html
- Copy and paste the code below.
// TODO: Replace with real events, say from server.
var db_events = [{
title: "Board members meeting",
date: new Date().getTime(),
link: "events.com/ev2"
}];
$(document).ready(function(){
$("#calendar").MEC({
calendar_link: "example.com/myCalendar",
events: db_events
});
});
You can also use example.html as a reference point
Event happening today
Calendar can be set to start on monday by setting from_monday: true