View Full Version : transparent scrollbar


vee
02-01-2005, 06:07 PM
does anyone know how to make a scrollbar thats transparent? i have a picture to better explain what i am talking about http://www.geocities.com/eterniiity/scrollbar.JPG

Lu13cky
02-01-2005, 06:18 PM
in your i-frame code (which I'm assuming you're using for the transparent scrollbar) type in scrolling=auto
style="FILTER: chroma(color=#CC9966)" allowTransparency (put this after <iframe name="I1" width="346" height="288" border="0" frameborder="0" src="main.htm"... and whatever else you have in the code...)

then go to the i-frame page (which would be main.htm according to the example above) and type in
<style>
<!--
BODY {
scrollbar-face-color:#CC9966;
scrollbar-arrow-color:#5B3000;
scrollbar-track-color:#CC9966;
scrollbar-shadow-color:#5B3000;
scrollbar-highlight-color:#5B3000;
scrollbar-3dlight-color:#CC9966;
scrollbar-darkshadow-color:#CC9966;
}-- >
</style>
in between the title and head tags

every time you see cc9966, is where the transparency will be allowed. Go here (http://devotions.lean-forward.com) to check out an example of what I'm talking about if you are at all confused.

you can also change the color to whatever you'd like, but if you change the transparency color, make sure you do not have that color in any images, or anything else on the page, because those too will become transparent.