User:Cshadd/monobook.js: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
(Replaced content with "→‎This displays your a mouse clock: ")
No edit summary
Line 1: Line 1:
/* This displays your a mouse clock*/
/*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();

Revision as of 16:26, August 12, 2010

/*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();