core/js/lib/jquery/plugins/fullpage/fullpage.js
/**
        * Performs the horizontal movement. (CSS3 or jQuery)
        *
        * @param fireCallback {Bool} - determines whether or not to fire the callback
        */
Performs the horizontal movement. (CSS3 or jQuery)
@param fireCallback {Bool} - determines whether or not to fire the callback
Performs the horizontal movement . ( CSS3 or jQuery ) @param fireCallback { Bool } - determines whether or not to fire the callback
function performHorizontalMove(slides, v, fireCallback) {
            var destinyPos = v.destinyPos;
            if (options.css3) {
                var translate3d = 'translate3d(-' + Math.round(destinyPos.left) + 'px, 0px, 0px)';
                addAnimation(slides.find(SLIDES_CONTAINER_SEL)).css(getTransforms(translate3d));
                afterSlideLoadsId = setTimeout(function () {
                    fireCallback && afterSlideLoads(v);
                }, options.scrollingSpeed, options.easing);
            } else {
                slides.animate({
                    scrollLeft: Math.round(destinyPos.left)
                }, options.scrollingSpeed, options.easing, function () {
                    fireCallback && afterSlideLoads(v);
                });
            }
        }
function performHorizontalMove ( slides , v , fireCallback ) { var destinyPos = v . destinyPos ; if ( options . css3 ) { var translate3d = 'translate3d(-' + Math . round ( destinyPos . left ) + 'px, 0px, 0px)' ; addAnimation ( slides . find ( SLIDES_CONTAINER_SEL ) ) . css ( getTransforms ( translate3d ) ) ; afterSlideLoadsId = setTimeout ( function ( ) { fireCallback && afterSlideLoads ( v ) ; } , options . scrollingSpeed , options . easing ) ; } else { slides . animate ( { scrollLeft : Math . round ( destinyPos . left ) } , options . scrollingSpeed , options . easing , function ( ) { fireCallback && afterSlideLoads ( v ) ; } ) ; } }
Performs the horizontal movement.
Performs the horizontal movement .