0
我工作的jQuery fullcalendar plugin.I做了代碼,默認情況下,顯示整個星期的看法,但我想在一段時間後顯示3天的onclick按鈕顯示下一天。我可以如何做到這一點?想在fullcalendar插件的周視圖一次顯示3天
enter code here
$( '#日曆')fullCalendar({ 默認視圖:。 'agendaWeek',
});
我工作的jQuery fullcalendar plugin.I做了代碼,默認情況下,顯示整個星期的看法,但我想在一段時間後顯示3天的onclick按鈕顯示下一天。我可以如何做到這一點?想在fullcalendar插件的周視圖一次顯示3天
enter code here
$( '#日曆')fullCalendar({ 默認視圖:。 'agendaWeek',
});
你想要什麼解釋相當好可能是像這樣:http://jsfiddle.net/z0au4L8x/1/
$('#calendar').fullCalendar({
header: {
center: 'agendaThreeDay' // buttons for switching between views
},
views: {
agendaThreeDay: {
type: 'agenda',
duration: { days: 3 },
buttonText: '3 day'
}
},
defaultView:'agendaThreeDay'
});
可能有[Full calenda r 3天議程自定義視圖](https://stackoverflow.com/questions/26276331/full-calendar-3-days-agenda-custom-view) – 2017-11-21 11:54:09