MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 503: Line 503:
         // On hover out, disable scrolling on #show-article-wrapper
         // On hover out, disable scrolling on #show-article-wrapper
         $(this).css('overflow-y', 'hidden');
         $(this).css('overflow-y', 'hidden');
    });
   
    $('.list-view-button-author').click(function() {
        $('.test-on-view').show(); // Show the test-on-view div
        $('.test-off-view').hide(); // Hide the test-off-view div
    });
    $('.block-view-button-author').click(function() {
        $('.test-off-view').show(); // Show the test-off-view div
        $('.test-on-view').hide(); // Hide the test-on-view div
     });
     });
});
});

Navigation menu