Transperant scroll bar for div

JavaScript and client side scripting.

Moderator: General Moderators

Post Reply
DeFacto
Forum Commoner
Posts: 37
Joined: Wed Apr 23, 2008 2:30 pm

Transperant scroll bar for div

Post 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>
User avatar
JAB Creations
DevNet Resident
Posts: 2341
Joined: Thu Jan 13, 2005 6:44 pm
Location: Sarasota Florida
Contact:

Re: Transperant scroll bar for div

Post 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.
Post Reply