Reputation: 2950
Can we change a scroll bar styling, Instead of default scroll bar, I want to place a image on it.
Upvotes: 2
Views: 3816
Reputation: 23427
Just found a link for the similar effect,hope it helps..
[http://www.hiddenpixels.com/javascript/custom-javascript-scrollbar/][1]
Upvotes: 0
Reputation: 2818
No.
IE allow change color of some scrollbar elements. But other browsers - NO. The only solution is use custom JS to implement this. But this is always more ugly and non-useful instead of native controls.
Take a look at: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html
Upvotes: 2
Reputation: 4265
You can't use an image for the scroll-bars, but you can change the colour of them. See this page for information on how to do it.
Be aware that the scrollbar properties are not valid CSS, and not all browsers will obey the style of the scrollbars.
Upvotes: 0
Reputation: 10071
See if this works for you - flexScroll
This does not place an image over the scrollbar, it creates a virtual scrollbar. I don't know if it is possible to gain control over scrollbar using html/js.
Upvotes: 0