| Issue 1693: | Odd/Even for weeks | |
| 1 person starred this issue and may be notified of changes. | Back to list |
At my company we found the FullCalendar-plugin to be awesome, but we sometimes read the calendar wrongly because it isn't clear in one view what the weeks are.
We ended up adjusting your JavaScript-code a little:
fullcalendar.js
line 2232 + var oddeven = (i + 1) % 2 === 0;
And then replacing the code for creating the TR-tag
s += "<tr class='" + (oddeven ? 'week-odd' : 'week-even') + " fc-week" + i + "'>";
This way it's easy to style 'weeks'
#calendar .week-odd td {
background-color: #E0E0E0;
}
#calendar .week-even td {
background-color: #FFFFFF;
}
Aug 21, 2013
Project Member
#1
adamrs...@gmail.com
Status:
Done
|
|
| ► Sign in to add a comment |