| Issue 705: | Past days need to have option to show past days | |
| 1 person starred this issue and may be notified of changes. | Back to list |
There should have option where we can able to show past day's background color as different color. and current Day should have different color and future days need to have different color shades.
Nov 10, 2010
Project Member
#1
althaus.it
Nov 10, 2010
Let say today is 10nov and in monthwise / day / weekview I want to show all days needs to have background color as gray. eg. 1-9 Nov(past days) it will have gray background and 10 will have white bg and from 11 - rest it will have pale yellow. but with the existing css(classname) formatting its not possible. so when today date become 12 Nov then also same css pattern has to work like this. if any solution. Please suggest.
Nov 10, 2010
Ah sorry. I didn't read your post thoroughly. There are no direct classes for this case. You *could* do this with some more jQuery code: * Track current date * Check if displayed month is the current one * Loop through the events and check for the .fc-dayXX classes It should be doable, but not really nice. :|
Nov 21, 2010
true, the only way to do this now is through jquery hackery after you know the view has rendered (use the viewDisplay trigger). but this <https://code.google.com/p/fullcalendar/issues/detail?id=191> will make it easier in the future. or would could have fullcalendar handle it internally and automatically add a classname, but id like to avoid that unless i hear a lot of people requesting this.
Status:
Done
|
|
| ► Sign in to add a comment |