Soarabh
Soarabh

Reputation: 2950

To change a scroll bar Styling

Can we change a scroll bar styling, Instead of default scroll bar, I want to place a image on it.

Upvotes: 2

Views: 3816

Answers (4)

Ankit Jaiswal
Ankit Jaiswal

Reputation: 23427

Just found a link for the similar effect,hope it helps..

[http://www.hiddenpixels.com/javascript/custom-javascript-scrollbar/][1]

Upvotes: 0

Zada Zorg
Zada Zorg

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

gabe3886
gabe3886

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

vikmalhotra
vikmalhotra

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

Related Questions