Page 1 of 1

Transperant scroll bar for div

Posted: Sat May 31, 2008 3:24 am
by DeFacto
Hello all,

is it possible to do so that scroll bar of div is transparent, but content is not?

this code makes scroll bar and content transparent.

Code: Select all

<div style="overflow: auto; filter: alpha(Opacity=25, FinishOpacity=0)"></div>

Re: Transperant scroll bar for div

Posted: Sat May 31, 2008 1:20 pm
by JAB Creations
You'll probably want to take a look at FleXcroll though there are some things to consider. First if you use #body selector you'll have trouble with the script. Second this script isn't really appropriate or necessary in certain environments such as a business site.

Lastly you'll need to possibly have a second CSS file as not all the measurements seem to add up when I last attempted to apply it to my own website.

But if you can get it to work it looks really nice.