MediaWiki:Vector-2022.js: Difference between revisions

    From Nonbinary Wiki
    No edit summary
    No edit summary
    Line 1: Line 1:
    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 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);
    var myNumber = Math.floor((Math.random() * 2));


    document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[1] + "')";
    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:34, 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));
    
    document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + picArr[1] + "')";