|
|
(4 intermediate revisions by the same user not shown) |
Line 1: |
Line 1: |
| /*** Randomiser: wiki-logo ***/
| |
|
| |
|
| function randomLogo () {
| |
| var opts2 = [
| |
| 'http://www.destinypedia.com/images/destinypedia2.png',
| |
| 'http://www.destinypedia.com/images/destinypedia1.png',
| |
| 'http://www.destinypedia.com/images/destinypedia3.png',
| |
| 'http://www.destinypedia.com/images/b/bc/Wiki.png'
| |
| ];
| |
|
| |
| $('#site-logo a').css('background-image','url(' + opts2[Math.floor(opts2.length*Math.random())] + ')');
| |
| }
| |
|
| |
| $(randomLogo);
| |