我为我的日历指定了 8 个事件。在 Chrome 中,所有 8 个都显示在当天的日历中。在 IE 和 Firefox 中只有 3 个出现?我尝试更改 css 并搜索 .js 文件无济于事。有任何想法吗?
代码 :
$('#calendar').fullCalendar({
firstDay : 1,
events: [
{
title : 'event1',
start : '2012-10-01 11:30:00',
description: 'This is a cool event'
},
{
title : 'event2',
start : '2012-10-01 12:00:00',
description: 'This is a cool event'
},
{
title : 'event3 i say i say i say i say',
start : '2012-10-01 12:30:00',
description: 'This is a cool event and I can\t wait to try it',
allDay : false // will make the time show
},
{
title : 'event4',
start : '2012-10-01 1:30:00',
description: 'This is a cool event'
},
{
title : 'event5',
start : '2012-10-01 2:30:00',
description: 'This is a cool event'
},
{
title : 'event6',
start : '2012-10-01 3:30:00',
description: 'This is a cool event'
},
{
title : 'event7',
start : '2012-10-01 6:30:00',
description: 'This is a cool event'
},
{
title : 'event8',
start : '2012-10-01 7:30:00',
description: 'This is a cool event'
}
],
eventClick: function(calEvent, jsEvent, view) {
alert('Event: ' + calEvent.title + '\nDesc: ' + calEvent.description);
},
dayClick: function(date, allDay, jsEvent, view) {
if (allDay) {
alert('Clicked on the entire day: ' + date);
}else{
alert('Clicked on the slot: ' + date);
}
}
});