我想知道是否有可能只显示一周,用这个日历来显示商店的营业时间。
所以:
- I don't want to show the day dates (only the day names) : OK
- I don't want to colorize the current day : OK
- I want the calendar display always the same week => I don't know how to do that...你有什么想法吗?这样做有可能吗?
非常感谢!
发布于 2011-01-22 00:25:38
如果使用"goToDate“方法:
gotoDate
将日历移动到任意年/月/日。
.fullCalendar( 'gotoDate',年[,月,日])
重要提示:月份是从0开始的,表示January=0、February=1等。
您可以在日历上添加给定日期的商店开业时间,然后只显示该日期。但是,你也可以只添加当前周的日期--这样你就可以更改时间,例如,银行假日等。有一组特殊的日期,如果不是这些日期中的一个,就可以正常打印。
发布于 2013-04-08 02:33:32
从1.3和1.4版本开始,fullcalendar现在可以显示周视图:
http://arshaw.com/fullcalendar/docs/views/
http://arshaw.com/fullcalendar/docs/views/Available_Views/
示例:
https://stackoverflow.com/questions/4733061
复制相似问题