| Issue 574: | FreeBusy | |
| 3 people starred this issue and may be notified of changes. | Back to list |
The calendar should show opening hours. Hours outside opening hours should be marked with a grey background. The dayClick() event should then include information whether the click occured within opening hours or not. Then it would be possible to not allow events to be created outside opening hours, give a warning about it or just ignore it (so the area will just be a indication to the user). themouette fork of jquery-week-calendar does exactly this and I think it is a great feature. Code: http://github.com/themouette/jquery-week-calendar Demo: http://themouette.github.com/jquery-week-calendar/weekcalendar_demo_3.html - Add event data source 1 and click on a grey area. Any plans to include this in FullCalendar? If not, any suggestion on how I should implement it?
Aug 25, 2010
(No comment was entered for this change.)
Status:
Duplicate
Mergedinto: 144 |
|
| ► Sign in to add a comment |
This is my current idea, but the problem is that it will not bubble events. Works great as an indicator though. viewDisplay: function(view) { $(this).find('.fc-agenda-body > div').prepend( $('<div class="fc-freebusy" style="background: rgba(0, 0, 0, 0.3);position: absolute; z-index: 0; top: 0px; left: 230px; width: 130.05px; height: 566px; "></div>').click( function(e) { alert('clicked'); } ) ); }