MediaWiki:Vector-2022.js: Difference between revisions

    From Nonbinary Wiki
    No edit summary
    No edit summary
    Line 1: Line 1:
    document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('https://static.miraheze.org/nonbinarywiki/c/c1/Neutrois.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);
     
    document.getElementById("mw-head").style.backgroundImage="linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 1)), url('" + myNumber + "')";

    Revision as of 10:32, 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('" + myNumber + "')";