MediaWiki:Nimbus.js: Difference between revisions

From Halopedia, the Halo wiki

No edit summary
No edit summary
Tag: Reverted
Line 5: Line 5:
var logos = [
var logos = [


'7/71/HP-LogoJohnHINF2.png',
'3/3d/Halo_Wiki_logo.png',
'8/8e/HP-LogoJohnHINFTease.png',
'6/6a/HP-LogoJohnH5.png',
'a/a0/HP-LogoJohnHCE.png',
'b/b3/HP-LogoJohnH3.png',
'c/c9/HP-LogoJohnH2A.png',
'2/23/HP-LogoFredGEN2.png',
'f/f5/HP-LogoKellyGEN2.png',
'0/06/HP-LogoLindaGEN2.png',
'b/b0/HP-LogoLocke.png',
'a/a3/HP-LogoBuckGEN2.png',
'd/dd/HP-LogoTanaka.png',
'2/26/HP-LogoVale.png',
'3/33/HP-LogoPalmer.png',
'2/2c/HP-LogoRoland.png',
'e/ee/HP-LogoJohnsonHW2.png',
'7/74/HP-LogoJohnsonH3ODST.png',
'3/30/HP-LogoJohnsonHCH.png',
'a/ae/HP-LogoJerome.png',
'4/4d/HP-LogoAnders.png',
'c/cd/HP-LogoAtriox.png',
'4/41/HP-LogoCutter.png',
'a/a8/HP-LogoForge.png',
'2/2c/HP-LogoSerina.png',
'7/75/HP-LogoRipa.png',
'4/4a/HP-LogoIsabel.png',
'0/00/HP-LogoYapyap.png',
'2/26/HP-LogoGoOMarkVI.png',
'3/3d/HP-LogoThelH3.png',
'9/9a/HP-LogoSparkH3.png',
'9/91/HP-LogoMirandaEnc22.png',
'0/0e/HP-LogoQuick.png',
'4/48/HP-LogoDare.png',
'1/1c/HP-LogoDutchH3ODST.png',
'7/77/HP-LogoMickey.png',
'3/3a/HP-LogoRomeoH3ODST.png',
'7/7f/HP-LogoRookie.png',
'e/e5/HP-LogoSix.png',
'e/ef/HP-LogoCarter.png',
'5/5d/HP-LogoKat.png',
'9/9b/HP-LogoJun.png',
'a/ad/HP-LogoJorge.png',
'c/c8/HP-LogoEmile.png',
'c/c2/HP-LogoRosenda.png',
'9/91/HP-LogoThom.png',
'0/01/HP-LogoVeta.png',
'2/2b/HP-LogoTem.png',
'b/b5/HP-LogoOlivia.png',
'd/da/HP-LogoGrayTeam.png',
'1/1f/HP-LogoLucy.png',
'3/36/HP-LogoHalsey.png',
'9/90/HP-LogoLasky.png',
'b/b6/HP-LogoRtas.png',
'8/89/HP-LogoHood.png',
'd/d4/HP-LogoJul.png',
'e/ee/HP-LogoCortana.png',
'7/74/HP-LogoJacobKeyes.png',
'9/93/HP-LogoMendez.png',
'c/c6/HP-LogoFaber.png',
'9/99/HP-LogoUrDidact.png',
'c/c0/HP-LogoLibrarian.png',
'a/ae/HP-LogoMendicant.png',
'e/ed/HP-LogoExcitedFernando.png',
'a/ad/HP-LogoStacker.png',
'c/cc/Halopedia_Logo_UssaXellus.png',
'e/e6/Halopedia_Logo_SpartanGretchen.png',
'6/67/Halopedia_Logo_SpartanRomeo.png',
'5/54/Halopedia_Logo_SpartanMickey.png',
'd/df/Halopedia_Logo_SpartanDutch.png',
'5/5a/HP-logoArby.png',
'2/26/HP-logoChant.png',
'3/37/HP-logoChakas.png',
'2/27/HP-logoNizat.png',
'd/d0/HP-logoVeta.png',
'c/c2/HP-logoHazel.png',
'2/2e/HP-logoLinda.png',
'9/9d/HP-logoKurt.png',
'f/f3/HP-LogoRionPoL.png',
'3/3a/HP-LogoFredGEN3.png',
'd/db/HP-LogoKellyGEN3.png',
'a/a2/HP-LogoSesa.png',


];
];
$('#site-logo a').css('background-image', 'url(https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random() * logos.length)] + ')');
$('#site-logo a').css('background-image', 'url(/*https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png*/), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random() * logos.length)] + ')');
});
});

Revision as of 12:50, November 4, 2024

/* Any JavaScript here will be loaded for users using the Nimbus skin */

/* Random logo */
$(function() {
var logos = [

'3/3d/Halo_Wiki_logo.png',

];
$('#site-logo a').css('background-image', 'url(/*https://halo.wiki.gallery/images/3/3c/HP-Logo2023.png*/), url(https://halo.wiki.gallery/images/' + logos[Math.floor(Math.random() * logos.length)] + ')');
});