Full version: jsB@nk » Browser » Scrollbars » Flashing Color Scroll Bars
URL: https://www.javascriptbank.com/flashing-color-scroll-bars.html
This JavaScript causes the scrollbars to continually flash (Works in MSIE only).
Full version: jsB@nk » Browser » Scrollbars » Flashing Color Scroll Bars
URL: https://www.javascriptbank.com/flashing-color-scroll-bars.html
<SCRIPT language=JavaScript><!--//Flashing Color Scroll Bars//By John Farquharson [email protected]//Completed on Tues May 29 MMI. @ 9:42 A.M. EDST//This JavaScript may be used provided this notice//remains affixed - DaWorks Web Designvar the_col = [ "red", "orange", "yellow", "orange" ];//add remove colors for arrow colorsvar my_col = [ "orange", "yellow", "red", "yellow" ];//add remove colors for face colorvar index = -1;var speed = 50;//adjust speed of flash for arrow and face colors herevar my_timeout;function myScrlbarClr(){index++;if (index >= the_col.length){index = 0; }document.body.style.scrollbarTrackColor = "orange";document.body.style.scrollbar3dLightColor = "#FF0000"; document.body.style.scrollbarArrowColor = the_col[index];document.body.style.scrollbarFaceColor = my_col[index];document.body.style.scrollbarHighlightColor = "#52B552";document.body.style.scrollbarShadowColor = "#FFE7B6";document.body.style.scrollbarDarkShadowColor = "blue";my_timeout = setTimeout('myScrlbarClr();', speed);}//--></SCRIPT><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->
<BODY onload=myScrlbarClr();></BODY><!-- This script downloaded from www.JavaScriptBank.com Come to view and download over 2000+ free javascript at www.JavaScriptBank.com-->