jquery.multiscroll.js
/**
         * Activating the website navigation dots according to the given slide name.
         */
Activating the website navigation dots according to the given slide name.
Activating the website navigation dots according to the given slide name .
function activateNavDots(name, sectionIndex){
            if(options.navigation){
                $('#multiscroll-nav').find('.active').removeClass('active');
                if(name){
                    $('#multiscroll-nav').find('a[href="#' + name + '"]').addClass('active');
                }else{
                    $('#multiscroll-nav').find('li').eq(sectionIndex).find('a').addClass('active');
                }
            }
        }
function activateNavDots ( name , sectionIndex ) { if ( options . navigation ) { $ ( '#multiscroll-nav' ) . find ( '.active' ) . removeClass ( 'active' ) ; if ( name ) { $ ( '#multiscroll-nav' ) . find ( 'a[href="#' + name + '"]' ) . addClass ( 'active' ) ; } else { $ ( '#multiscroll-nav' ) . find ( 'li' ) . eq ( sectionIndex ) . find ( 'a' ) . addClass ( 'active' ) ; } } }
Activating the website navigation dots according to the given slide name.
Activating the website navigation dots according to the given slide name .