core/js/lib/jquery/plugins/fullpage/fullpage.js
/**
        * Determines whether the active section has seen in its whole or not.
        */
Determines whether the active section has seen in its whole or not.
Determines whether the active section has seen in its whole or not .
function isCompletelyInViewPort(movement) {
            var top = $(SECTION_ACTIVE_SEL).position().top;
            var bottom = top + $window.height();
            if (movement == 'up') {
                return bottom >= ($window.scrollTop() + $window.height());
            }
            return top <= $window.scrollTop();
        }
function isCompletelyInViewPort ( movement ) { var top = $ ( SECTION_ACTIVE_SEL ) . position ( ) . top ; var bottom = top + $window . height ( ) ; if ( movement == 'up' ) { return bottom >= ( $window . scrollTop ( ) + $window . height ( ) ) ; } return top <= $window . scrollTop ( ) ; }
Determines whether the active section has seen in its whole or not.
Determines whether the active section has seen in its whole or not .