Using images to style scroll bars?
Can anyone recommend the best solution for using images to style scroll bar? I guess a decent cross-browser solution woul开发者_开发百科d involve a merge of JQuery/javascrip and CSS?
Thanks Paul
I recommend using the jScrollPane jQuery plugin for this. It lets you use CSS to style scroll bars. If you want to use images, you'd use the background-image
property, as the Lozenge theme demo shows.
I think this article will get you going.
BTW: There is no such thing as best :)
Have a look here: http://www.net-kit.com/jquery-custom-scrollbar-plugins/
Many very good solutions. Always remember to think as you're users would do. In my oppinion animated / designed scrollbars can ruin the beauty about scrolling, because of delay or lag.
精彩评论