| Issue 676: | Improvement suggestion: Keyboard arrow navigation (Left, Right) | |
| 1 person starred this issue and may be notified of changes. | Back to list |
Hi, I want to suggest to add arrow keys navigation for the views that could support it (e.g. day/week/month view) Left triggers prev, Right arrow triggers next.
Nov 10, 2010
Project Member
#1
althaus.it
Nov 10, 2010
Thanks for the feedback.
I managed to get this functionality by adding functionalty calls on keydown events, on document ready.
Example:
$(document).ready(function()
{
$(document).keydown(function(e) {
switch(e.keyCode) {
// User pressed "right" arrow
case 39:
$('#calendar0').fullCalendar('next');
break;
// User pressed "left" arrow
case 37:
$('#calendar0').fullCalendar('prev');
break;
}
})
}
Nov 21, 2010
thanks frode.fuglestad, this is the best solution, by calling fullcalendar's api
Status:
Done
Nov 22, 2010
You're welcome. I hope this can be helpful for others too. |
|
| ► Sign in to add a comment |