MediaWiki:Nimbus.js: Difference between revisions
From Destinypedia, the Destiny wiki
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
/* Random logo */ | /* Random logo */ | ||
var logos = ['/images/logo-hunter.png', '/images/logo-titan.png', '/images/2/2c/Rotation_logo_Cayde.png', '/images/b/b6/Rotation_logo_speaker.png']; | var logos = ['/images/logo-hunter.png', '/images/logo-titan.png', '/images/logo-warlock.png', '/images/2/2c/Rotation_logo_Cayde.png', '/images/b/b6/Rotation_logo_speaker.png']; | ||
$('#site-logo a').css('background-image', 'url(' + logos[Math.floor(Math.random() * logos.length)] + ')'); | $('#site-logo a').css('background-image', 'url(' + logos[Math.floor(Math.random() * logos.length)] + ')'); |
Revision as of 18:09, September 19, 2017
/* Any JavaScript here will be loaded for users using the Nimbus skin */
/* Random logo */
var logos = ['/images/logo-hunter.png', '/images/logo-titan.png', '/images/logo-warlock.png', '/images/2/2c/Rotation_logo_Cayde.png', '/images/b/b6/Rotation_logo_speaker.png'];
$('#site-logo a').css('background-image', 'url(' + logos[Math.floor(Math.random() * logos.length)] + ')');