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
 
(9 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* This displays your username somewhere on the page */
/*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)

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)