Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

redraw scroll bars 1

Status
Not open for further replies.

Rydel

Programmer
Feb 5, 2001
376
CZ
I've noticed that some Web pages are capable of redrawing scrollbars (for example, to paint it different colors). I've also noticed that this behavior only works in IE5.5 and IE6.0. In any case I am curious how this can be done! Thanks in advance!

P.S. I looked into the code of one such page (including linked external .js files), but there was 40+ KB of obfuscated JScript code so I couldn't even figer out which function is responsible for the scroll bars (the functions were named fo, fi, ff, etc.). ---
---
 
It is done using CSS :

<style>
body {
scrollbar-3dlight-color:;
scrollbar-arrow-color:#FFFFF0;
scrollbar-base-color:#666666;
scrollbar-darkshadow-color:#c0c0c0;
scrollbar-face-color:#002163;
scrollbar-highlight-color:#cccccc;
scrollbar-shadow-color:#cccccc;
}
</style> Regards

Big Dave


** If I am wrong I am sorry, but i'm only trying to help!! **

 
IE only my friend. Regards

Big Dave


** If I am wrong I am sorry, but i'm only trying to help!! **

 
The scrollbar is in the specifications, but it is IE only. Regards

Big Dave


** If I am wrong I am sorry, but i'm only trying to help!! **

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top