MediaWiki:Nimbus.js
From Destinypedia, the Destiny wiki
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
/* 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/4/4e/Rotation_logo_Zavala.png', '/images/b/b6/Rotation_logo_speaker.png'];
$('#site-logo a').css('background-image', 'url(' + logos[Math.floor(Math.random() * logos.length)] + ')');