MediaWiki:Vector-2022.js: Difference between revisions
No edit summary |
No edit summary |
||
Line 3: | Line 3: | ||
var myNumber = Math.floor((Math.random() * 2) + 1); | var myNumber = Math.floor((Math.random() * 2) + 1); | ||
document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[ | document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[1] + "')"; |
Revision as of 10:33, 9 July 2022
var picArr = ["https://static.miraheze.org/nonbinarywiki/c/c1/Neutrois.png", "https://static.miraheze.org/nonbinarywiki/thumb/c/c0/Nonbinary.png/800px-Nonbinary.png"]; var myNumber = Math.floor((Math.random() * 2) + 1); document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[1] + "')";