User:X66x66/monobook.js
From Homestar Runner Wiki
(Difference between revisions)
| Line 3: | Line 3: | ||
"http://www.hrwiki.org/images/e/e3/Logo_Redesign_Current_Updated_b.gif", | "http://www.hrwiki.org/images/e/e3/Logo_Redesign_Current_Updated_b.gif", | ||
"http://www.hrwiki.org/images/8/82/Logo_Redesign_Current_Updated_c.gif", | "http://www.hrwiki.org/images/8/82/Logo_Redesign_Current_Updated_c.gif", | ||
| - | "http://www.hrwiki.org/images/ | + | "http://www.hrwiki.org/images/7/7d/Logo_Redesign_Current_Updated.gif", |
| + | "http://www.hrwiki.org/images/1/10/wiki.png", | ||
); | ); | ||
Revision as of 23:54, 10 January 2007
function changelogo() {
var logos = new Array(
"http://www.hrwiki.org/images/e/e3/Logo_Redesign_Current_Updated_b.gif",
"http://www.hrwiki.org/images/8/82/Logo_Redesign_Current_Updated_c.gif",
"http://www.hrwiki.org/images/7/7d/Logo_Redesign_Current_Updated.gif",
"http://www.hrwiki.org/images/1/10/wiki.png",
);
var i = Math.floor(Math.random() * logos.length);
document.getElementById('p-logo').getElementsByTagName('a')[0].style.setProperty("background-image", "url(" + logos[i] + ")", "important");
}
addOnloadHook(changelogo);
