| Issue 66: | [PATCH] Enable to change month by mouse wheel scroll. | |
| 1 person starred this issue and may be notified of changes. | Back to list |
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. |
|
| ► Sign in to add a comment |
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'); } });