我为我的日历指定了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);
}
}
});