このコードを $('#calendar').fullCalendar( ... ); の後に貼り付けます。これにより、テーブルに追加のTDが作成されます:)
$("table.fc-agenda-slots th").each(function () {
$(this).width(50);
});
$("table.fc-agenda-slots td.fc-widget-content").each(function () {
$(this).width(($("table.fc-agenda-days thead th.fc-col0").width()));
$(this).after("<td class=\"fc-widget-content\"><div style=\"position:relative\"></div></td>");
$(this).after("<td class=\"fc-widget-content\" style=\"width:" + $("table.fc-agenda-days thead th.fc-col5").width() + "px\"><div style=\"position:relative\"></div></td>");
$(this).after("<td class=\"fc-widget-content\" style=\"width:" + $("table.fc-agenda-days thead th.fc-col4").width() + "px\"><div style=\"position:relative\"></div></td>");
$(this).after("<td class=\"fc-widget-content\" style=\"width:" + $("table.fc-agenda-days thead th.fc-col3").width() + "px\"><div style=\"position:relative\"></div></td>");
$(this).after("<td class=\"fc-widget-content\" style=\"width:" + $("table.fc-agenda-days thead th.fc-col2").width() + "px\"><div style=\"position:relative\"></div></td>");
$(this).after("<td class=\"fc-widget-content\" style=\"width:" + $("table.fc-agenda-days thead th.fc-col1").width() + "px\"><div style=\"position:relative\"></div></td>");
});
そして、これはホバーのスタイル css です:
table.fc-agenda-slots td.fc-widget-content
{
border-right: 1px #DDD solid;
}
table.fc-agenda-slots td.fc-widget-content:hover
{
background-color: #F1F1F1;
}