PDA

View Full Version : [DHTML] Scrollbar Color Manipulation [IE 5.5+]



Tage7
08-15-2007, 01:20 PM
1) CODE TITLE: Scrollbar Color Manipulation (IE 5.5+)

2) AUTHOR NAME/NOTES: Jonathan Chan (I made this script a long time ago [3+ years ago]; so it's not convenient adding colors and color sets. Also, it could probably be sped up since a lot of string evaluation was going on. Quite frankly, I don't remember all my code because I didn't comment it and I didn't create descriptive function names. I will probably go back over the code when I have time and make it easier to use. However, it's still quite functional. Practical? Maybe not.)

3) DESCRIPTION: This DHTML script changes scrollbar colors onMouseOver, onMouseOut, and onScroll. You supply the colors and timing yourself in variables.

4) URL TO CODE: Demo here: http://www.tage7.net/sbColorM/

or, ATTACHED BELOW (see #3 in guidelines below):
Code and instructions attached below

Edit: forgot to mention I never tested this in IE7