开发者

Using images to style scroll bars?

开发者 https://www.devze.com 2023-02-24 08:19 出处:网络
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?

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消