jquery.multiscroll.js
/**
        * Adds the possibility to auto scroll through sections on touch devices.
        */
Adds the possibility to auto scroll through sections on touch devices.
Adds the possibility to auto scroll through sections on touch devices .
function addTouchHandler(){
            if(isTouch || isTouchDevice){
                document.removeEventListener(events.touchstart, touchStartHandler);
                document.removeEventListener(events.touchmove, touchMoveHandler, {passive: false});
                document.addEventListener(events.touchstart, touchStartHandler);
                document.addEventListener(events.touchmove, touchMoveHandler, {passive: false});
            }
        }
function addTouchHandler ( ) { if ( isTouch || isTouchDevice ) { document . removeEventListener ( events . touchstart , touchStartHandler ) ; document . removeEventListener ( events . touchmove , touchMoveHandler , { passive : false } ) ; document . addEventListener ( events . touchstart , touchStartHandler ) ; document . addEventListener ( events . touchmove , touchMoveHandler , { passive : false } ) ; } }
Adds the possibility to auto scroll through sections on touch devices.
Adds the possibility to auto scroll through sections on touch devices .