Nic*_*CNB 9 javascript jquery fullcalendar
虽然我已经看到这个问题,但我还没有看到答案.我只是希望能够转色background-color的TD,从一定范围内..
假设我的日历每15分钟有一个时段分钟,从早上9点到晚上9点,我想只在上午10点到下午3点之间进行颜色调整.
此信息将来自Feed,但这不是问题.我没有TD在日历中找到与设定时间有关的s.也许我错过了什么?:)我是相当新的jQuery和fullCalendar.
另外,另一个与主要问题无关的快速问题:
id启动它的日历?我的页面上有多个日历来模拟甘特视图.这将让我能够获取正确的Feed并填充正确的事件.ars*_*haw 13
以下是针对您的第一个问题的功能请求:http: //code.google.com/p/fullcalendar/issues/detail?id = 144 确保将其标记为接收更新.谢谢
Mik*_*stö 10
我写了一些简单的注释支持来做这种功能,它可以从中找到
https://github.com/elhigu/fullcalendar
希望它在某些时候可以合并到官方分支机构
可以像这样添加注释:
$('#calendar').fullCalendar({
....
events: [
{
title: 'All Day Event',
start: new Date(y, m, 1)
}
],
annotations: [{
start: new Date(y, m, d, 13, 0),
end: new Date(y, m, d, 15, 30),
title: 'My 1st annotation', // optional
cls: 'open', // optional
color: '#777777', // optional
background: '#eeeeff' // optional
}, { next annotation }, ...]
});
})
Run Code Online (Sandbox Code Playgroud)
有关如何使用注释的完整示例,请访问:https: //github.com/elhigu/fullcalendar/blob/master/demos/annotations.html

| 归档时间: |
|
| 查看次数: |
17378 次 |
| 最近记录: |