Full version: jsB@nk » Browser » Scrollbars » ScrollBar Fader
URL: https://www.javascriptbank.com/scrollbar-fader.html
This JavaScript causes the scrollbars to continually flash.
Full version: jsB@nk » Browser » Scrollbars » ScrollBar Fader
URL: https://www.javascriptbank.com/scrollbar-fader.html
<SCRIPT language=javascript>/* By: Aaron Connelly E-Mail: [email protected] Must stay intact for use*///How fast do you want it to fadevar speed=150//Don't edit thisvar ff1="0"var ff2="0"function scrollbarColor(){var f1=new Array()f1[1]="0"f1[2]="15"f1[3]="35"f1[4]="55"f1[5]="95"f1[6]="100"f1[7]="130"f1[8]="140"f1[9]="190"f1[10]="230"f1[11]="240"f1[12]="256"f1[13]="240"f1[14]="220"f1[15]="190"f1[16]="120"f1[17]="90"f1[18]="70"f1[19]="30"f1[20]="10"f1[21]="0"var f2=new Array()f2[1]="0"f2[2]="15"f2[3]="35"f2[4]="55"f2[5]="75"f2[6]="95"f2[7]="120"f2[8]="150"f2[9]="180"f2[10]="210"f2[11]="240"f2[12]="256"f2[13]="240"f2[14]="230"f2[15]="200"f2[16]="180"f2[17]="150"f2[18]="100"f2[19]="70"f2[20]="20"f2[21]="0"ff1=(ff1==21)?1:++ff1ff2=(ff2==21)?1:++ff2/* **IMPORTANT** If you want to change the colors just play around with the 256 & 120*/document.body.style.scrollbarHighlightColor="rgb(256," + f1[ff1] + "," + f2[ff2] + ")"document.body.style.scrollbarBaseColor="rgb(" + f1[ff1] + ",120," + f2[ff2] + ")"//Don't editsetTimeout("scrollbarColor()",speed)}window.onload=scrollbarColor</SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->