I am using the fullcalendar plugin and would like to change it a little bit - I want the default to be month view , but able to scroll down and continue into the next month, does anyone know if there is an add on , or anyway to start going about editing the fullcalendar?
There is no direct way in fullcalendar to show two months. for your requirement you need to merge fullcalnder with darepicker ahow one small datepicker above the fullcaleder and one click of datepicker call goto methode of fullcalendar to jump at requried date.
$(document).ready(function()
{
$("#datepicker" ).datepicker({
numberOfMonths: 2,
showButtonPanel: false,
minDate:0,
onSelect: function(dateText, inst)
{
selected_date = dateText;
$('#calendar').fullCalendar('gotoDate',new Date(Date.parse(selected_date)));
}
});
});
You could accomplish as follows:
Like this:
Multiple FullCalendars on a single page
with options
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With