My favorites | Sign in
Project Home Issues
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 574: FreeBusy
3 people starred this issue and may be notified of changes. Back to list
Status:  Duplicate
Merged:  issue 144
Owner:  ----
Closed:  Aug 2010


Sign in to add a comment
 
Reported by espe...@gmail.com, Jul 26, 2010
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?
Jul 26, 2010
#1 espe...@gmail.com
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'); } )
	);
}
Aug 25, 2010
Project Member #2 adamrs...@gmail.com
(No comment was entered for this change.)
Status: Duplicate
Mergedinto: 144
Sign in to add a comment

Powered by Google Project Hosting