MediaWiki:Common.js: Difference between revisions

From Fabulous Loop de Loop
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
//x.getElementsByClassName(".portal").style.backgroundColor = "red";
//x.getElementsByClassName(".portal").style.backgroundColor = "red";


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


//$(document).ready(function(){
//$(document).ready(function(){
//                $('.portal').style.color = "green";
//                $('.portal').style.color = "green";
//        });
//        });

Revision as of 13:18, 14 June 2021

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

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

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

//$(document).ready(function(){
//                $('.portal').style.color = "green";
//        });