User:Cshadd/monobook.js

From the Super Mario Wiki, the Mario encyclopedia
< User:Cshadd
Revision as of 16:26, August 12, 2010 by Cshadd (talk | contribs)
Jump to navigationJump to search

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.
/*Change the scrollbar color*/

function changeScrollbarColor(C) {
if (document.all) {
document.body.style.scrollbarBaseColor = C;
   }
}

function Func1()
{
changeScrollbarColor('#FF0000')
} 

function Func1Delay()
{
setTimeout("Func1()", 3000);
changeScrollbarColor('#FF8000')
}

function Func2Delay()
{
setTimeout("Func1Delay()", 3000);
changeScrollbarColor('#FFFF00')
}

function Func3Delay()
{
setTimeout("Func2Delay()", 3000);
changeScrollbarColor('#00FF00')
}

function Func4Delay()
{
setTimeout("Func3Delay()", 3000);
changeScrollbarColor('#4444FF')
}

function Func5Delay()
{
setTimeout("Func4Delay()", 5000);
Func1Delay()
}

window.onload = Func1Delay();