// Place this script in the of the page.
// Add onload="doScrollbarColors()" to the tag, like this:
//
var rate = 1000
var C1 = "#ff9933"
var C2 = "#ffff00"
var C3 = "#ff0000"
var i = 0
function doScrollbarColors(){
if (document.all){
i++
if (i==1) C = C1
if (i==2) C = C2
if (i==3) C = C3
document.body.style.scrollbarBaseColor = C
if (i>2) i=0
t=setTimeout("doScrollbarColors()", rate)
}
}
|