PDA

View Full Version : Making scroll bars transparent?



Hound
01-19-2007, 04:17 AM
Is there a way to make scroll bars transparent? Or just not show but still provide the function of when the mouse wheel is scrolling?

And is there a way to add custom graphics to sub for the default.

djr33
01-19-2007, 04:24 AM
Not sure, exactly. Might be possible, but might not due to security.

One option: Create a thing (div, perhaps) that fills the entire screen (meaning it's 100% high/wide). That won't create scrollbars...
then place into that div what you need. Enable scrolling in the Div and hide the scrollbars for the div (I think this is possible.)
Anyway... just thoughts. Sorry it's not much help.

Hound
01-23-2007, 07:17 PM
http://silverella.blogspot.com/ ran across that blog,

Notice how you can scroll when hovering over diffferent sections. Any clue how to code something like that?

Twey
01-23-2007, 07:59 PM
Those are just standard divs, with overflow: auto; set.

chechu
01-23-2007, 08:23 PM
Or just not show but still provide the function of when the mouse wheel is scrolling?


Add this in the head


<style type="text/css">
<!--

body
{
scrollbar-face-color:white;
scrollbar-arrow-color:white;
scrollbar-track-color:white;
scrollbar-shadow-color:white;
scrollbar-highlight-color:white;
scrollbar-3dlight-color:white;
scrollbar-darkshadow-Color:white;
background-attachment: fixed;
}

-->
</style>

Twey
01-23-2007, 08:47 PM
That will only work in IE and Konqueror, as far as I know. No other major browser supports these properties, since they are non-standard.