User:Cshadd/monobook.js: Difference between revisions

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary
No edit summary
 
Line 1: Line 1:
/*Change the scrollbar color*/
/*Changes the scrollbar color*/


function Func1()
var mode=0
{
 
document.body.style.scrollbarFaceColor="Green"
function blinkscroll(){
if (mode==0)  
document.body.style.scrollbarFaceColor="blue"
else
document.body.style.scrollbarFaceColor="green"  
mode=(mode==0)? 1 : 0
}  
}  
 
setInterval("blinkscroll()",1000)
function Func1Delay()
{
setTimeout("Func1()", 3000);
document.body.style.scrollbarFaceColor="Yellow"
}
 
function Func2Delay()
{
setTimeout("Func1Delay()", 3000);
document.body.style.scrollbarFaceColor="Blue"
}
 
function Func3Delay()
{
setTimeout("Func2Delay()", 3000);
Func1Delay();
}
 
window.onload = Func1Delay();

Latest revision as of 16:44, August 12, 2010

/*Changes the scrollbar color*/

var mode=0 

function blinkscroll(){ 
if (mode==0) 
document.body.style.scrollbarFaceColor="blue" 
else 
document.body.style.scrollbarFaceColor="green" 
mode=(mode==0)? 1 : 0 
} 
setInterval("blinkscroll()",1000)