public/static/src.js
/**
     * Scroll to the next section.
     * @param id string
     * @param minWidth Number
     * @returns void
     */
Scroll to the next section.
@param id string
@param minWidth Number
@returns void
Scroll to the next section . @param id string @param minWidth Number @returns void
function scrollTo(id,minWidth)
    {
        var isMin = menuOffsetAt > window.innerWidth;
        if (minWidth && minWidth < window.innerWidth) {
            return;
        }
        $('html,body').animate({
            scrollTop: $("#"+id).offset().top - (isMin ? menuOffset : 0)
        },1000,'easeInOutExpo');
    }
function scrollTo ( id , minWidth ) { var isMin = menuOffsetAt > window . innerWidth ; if ( minWidth && minWidth < window . innerWidth ) { return ; } $ ( 'html,body' ) . animate ( { scrollTop : $ ( "#" + id ) . offset ( ) . top - ( isMin ? menuOffset : 0 ) } , 1000 , 'easeInOutExpo' ) ; }
Scroll to the next section.
Scroll to the next section .
//TweenLite.to(window, 2, {scrollTo:{y:}, ease:Power2.easeOut});