HEX
Server: Apache
System: Linux webd003.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: slyfwmm (169339)
PHP: 8.1.34
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/slyfwmm/incastiglionfiorentino/wp-content/plugins/nextgen-gallery/static/Legacy/overview.js
/*
 * Overview Page JS for NextGEN Gallery: Provides JS for 
 * navigating tabs on the NextGEN Overview page. 
 * 
 */
(function($) {
    $(function() {
        $('#ngg-tabs-wrapper').find('a').on('click', function () {
            $('#ngg-tabs-wrapper').find('a').removeClass('nav-tab-active');
            $('.ngg-tab').removeClass('active');

            var id = jQuery(this).attr('id').replace('-link', '');
            $('#' + id).addClass('active');
            $(this).addClass('nav-tab-active');
        });

        var activeTab = window.location.hash.replace('#top#', '');
        if ('' === activeTab) {
            activeTab = $('.ngg-tab').attr('id');
        }

        $('#' + activeTab).addClass('active');
        $('#' + activeTab + '-tab').addClass('nav-tab-active');
        $('.nav-tab-active').trigger('click');
    });
})(jQuery);