jquery.multiscroll.js
/**
         * Sliding with arrow keys, both, vertical and horizontal
         */
Sliding with arrow keys, both, vertical and horizontal
Sliding with arrow keys both vertical and horizontal
function onkeydown(e){
            var shiftPressed = e.shiftKey;
            if(!canScroll){
                return;
            }
            switch (e.which) {
                case 38:
                case 33:
                    MS.moveSectionUp();
                    break;
                case 32: 
                    if(shiftPressed){
                        MS.moveSectionUp();
                        break;
                    }
                case 40:
                case 34:
                    MS.moveSectionDown();
                    break;
                case 36:
                    MS.moveTo(1);
                    break;
                case 35:
                    MS.moveTo( $('.ms-left .ms-section').length);
                    break;
                default:
                    return; 
            }
        }
function onkeydown ( e ) { var shiftPressed = e . shiftKey ; if ( ! canScroll ) { return ; } switch ( e . which ) { case 38 : case 33 : MS . moveSectionUp ( ) ; break ; case 32 : if ( shiftPressed ) { MS . moveSectionUp ( ) ; break ; } case 40 : case 34 : MS . moveSectionDown ( ) ; break ; case 36 : MS . moveTo ( 1 ) ; break ; case 35 : MS . moveTo ( $ ( '.ms-left .ms-section' ) . length ) ; break ; default : return ; } }
Sliding with arrow keys, both, vertical and horizontal
Sliding with arrow keys both vertical and horizontal
//do nothing if we can not scroll 
 //up
 //down
 //spacebar
 //Home
 //End
 // exit this handler for other keys
