core/js/lib/jquery/plugins/fullpage/fullpage.js
/**
        * Sets the data-anchor attributes to the menu elements and activates the current one.
        */
Sets the data-anchor attributes to the menu elements and activates the current one.
Sets the data - anchor attributes to the menu elements and activates the current one .
function styleMenu(section, index) {
            if (typeof options.anchors[index] !== 'undefined') {
                if (section.hasClass(ACTIVE)) {
                    activateMenuAndNav(options.anchors[index], index);
                }
            }
            if (options.menu && options.css3 && $(options.menu).closest(WRAPPER_SEL).length) {
                $(options.menu).appendTo($body);
            }
        }
function styleMenu ( section , index ) { if ( typeof options . anchors [ index ] !== 'undefined' ) { if ( section . hasClass ( ACTIVE ) ) { activateMenuAndNav ( options . anchors [ index ] , index ) ; } } if ( options . menu && options . css3 && $ ( options . menu ) . closest ( WRAPPER_SEL ) . length ) { $ ( options . menu ) . appendTo ( $body ) ; } }
Sets the data-anchor attributes to the menu elements and activates the current one.
Sets the data - anchor attributes to the menu elements and activates the current one .
//activating the menu / nav element on load //moving the menu outside the main container if it is inside (avoid problems with fixed positions when using CSS3 tranforms)