MediaWiki:Common.js: Difference between revisions

From Fabulous Loop de Loop
No edit summary
No edit summary
Line 1: Line 1:
/* Any JavaScript here will be loaded for all users on every page load. */
/* Any JavaScript here will be loaded for all users on every page load. */


var x = document.getElementById("p-NAVIGATION");
$(document).ready(function(){
x.getElementsByClassName(".portal").style.backgroundColor = "red";
              $('.portal').hide();
      });
 
//var x = document.getElementById("p-NAVIGATION");
//x.getElementsByClassName(".portal").style.backgroundColor = "red";

Revision as of 09:23, 14 June 2021

/* Any JavaScript here will be loaded for all users on every page load. */

$(document).ready(function(){
              $('.portal').hide();
      });

//var x = document.getElementById("p-NAVIGATION");
//x.getElementsByClassName(".portal").style.backgroundColor = "red";