JQuery fullcalendar使用
来源:互联网 发布:qq记牌器源码 编辑:程序博客网 时间:2024/04/25 21:01
最近一直在研究日历,下面介绍fullcalendar的注意事项:
FullCalendar官方文档:https://fullcalendar.io/docs/
fullcalendar有很多版本,各个版本对IE的版本也有区别。当使用高版本的fullcalendar(2&3),IE7或者8不支持。所以请看好需求,以及环境。
国际化:1.x版本 不支持国际化。需要自己在js里自定义。2.x以及支持。
1.x版本 国际化titleFormat: { month: 'MMMM yyyy', week: "MMM d[ yyyy]{ '—'[ MMM] d yyyy}", day: 'dddd, MMM d, yyyy'},monthNames:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),monthNamesShort:"1月_2月_3月_4月_5月_6月_7月_8月_9月_10月_11月_12月".split("_"),dayNames: "星期日_星期一_星期二_星期三_星期四_星期五_星期六".split("_"),dayNamesShort:"日_一_二_三_四_五_六".split("_"),buttonText: { today: '今天', month: '月', week: '周', day: '天'}2.x以上lang locateeventAfterRender : function(event, element, view) { //var evtcontent = '<a src="http://www.baidu.com"></a>'; var fstart = $.fullCalendar.formatDate(event.start, "HH:mm"); var fend = $.fullCalendar.formatDate(event.end, "HH:mm"); var titlebg = '<span class="fc-event-conf">'+fstart+"-"+fend+' </span><br>'; var evtcontent = '<div class="fc-event-vert">'+titlebg+'<a href="javascript:;" onclick="viewCalendar('+event.id+",'"+event.title+"','"+event.description+"','"+event.start+"','"+event.end+"'"+');">'; evtcontent = evtcontent + '<span> ' + event.title + '</span></a></div>'; element.html(evtcontent); },
0 0
- JQuery fullcalendar使用
- jquery fullcalendar 日历日程插件使用
- jquery日历插件FullCalendar使用技巧
- jquery日历插件FullCalendar使用技巧
- fullCalendar使用
- js jquery 实现 排班,轮班,日历,日程。使用fullcalendar 插件
- jQuery]FullCalendar 备忘
- [jQuery]FullCalendar 备忘
- jQuery]FullCalendar 备忘
- fullcalendar的使用
- fullCalendar插件使用心得
- FullCalendar的使用
- Fullcalendar使用2
- fullcalendar的使用
- fullcalendar简单使用
- fullCalendar插件的使用
- FullCalendar控件的使用
- jquery FullCalendar 官方文档翻译
- VirtualBox常见问题记录与解决
- linux下的解压命令
- Eclipse中导入外部jar包
- Spring Security(03)——核心类简介
- vim cscope+ctags+taglist
- JQuery fullcalendar使用
- LightOJ-1284 Lights inside 3D Grid (概率&计数)
- Android Webp 完全解析 快来缩小apk的大小吧
- C++11 foreach与std::begin、std::end
- ThreadLocal解析
- Scala学习整理[总结篇]<Programming In Scala>
- Java正则表达式的语法与示例
- Retrofit2 @DELETE 不能使用@Body问题的解决办法
- 下拉刷新功能是怎么实现的?