MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
no edit summary
No edit summary
No edit summary
Line 519: Line 519:
      
      
     $('.list-view-button-author').click(function() {
     $('.list-view-button-author').click(function() {
         $('.test-on-view').show(); // Show the test-on-view div
         $('.list-view-on').show(); // Show the list-view-on
         $('.test-off-view').hide(); // Hide the test-off-view div
         $('.block-view-on').hide(); // Hide the block-view-on
     });
     });


     $('.block-view-button-author').click(function() {
     $('.block-view-button-author').click(function() {
         $('.test-off-view').show(); // Show the test-off-view div
         $('.block-view-on').show(); // Show the block-view-on
         $('.test-on-view').hide(); // Hide the test-on-view div
         $('.list-view-on').hide(); // Hide the list-view-on
     });
     });
      
      

Navigation menu