Issue 66: [PATCH] Enable to change month by mouse wheel scroll.
Status:  Done
Owner: ----
Closed:  Jul 2009
Reported by topaz2.3...@gmail.com, Jul 24, 2009
Hi, 

I'm very appreciated to see such a wonderful plugin.
And also can't wait for Week View and Day View coming up in 1.3 :-)

By the way, I often use mouse wheel scroll to switch month in google calendar.
So I made a tiny patch which enables to switch month like google calendar does.

Hope this helps.
mousewheelscroll.patch
3.0 KB   View   Download
Jul 31, 2009
Project Member #1 adamrs...@gmail.com
topaz, thank you very much for this. i have used the jquery mousewheel plugin in the 
past and it works great. since this requires another plugin, i will let the 
programmer decide to include it or not. i see you check for the mousewheel plugin's 
existence first, which is good.

this is very useful, but i doubt it will be what everyone needs, so it might be best 
to implement this behavior through the api. like this:

$('#calendar').mousewheel(function(ev, delta) {
  if (delta > 0) {
    $('#calendar').fullCalendar('nextMonth');
  }else{
    $('#calendar').fullCalendar('prevMonth');
  }
});
Status: Done