MediaWiki:Common.js: Difference between revisions

Jump to navigation Jump to search
Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: // Get the modal var modal1 = document.getElementById("aboutModal"); // Get the button that opens the modal var btn1 = document.getElementById("aboutBtn"); // Get the <span> element that closes the modal var span1 = document.getElementsByClassName("close1")[0]; // When the user clicks the button, open the modal btn1.onclick = function() { modal1.style.display = "block"; } // When the user click..."
(Created page with "→‎Any JavaScript here will be loaded for all users on every page load.: // Get the modal var modal1 = document.getElementById("aboutModal"); // Get the button that opens the modal var btn1 = document.getElementById("aboutBtn"); // Get the <span> element that closes the modal var span1 = document.getElementsByClassName("close1")[0]; // When the user clicks the button, open the modal btn1.onclick = function() { modal1.style.display = "block"; } // When the user click...")
(No difference)

Navigation menu