更改滚动条样式 [英] To change a scroll bar Styling
本文介绍了更改滚动条样式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
解决方案
我们可以更改滚动条样式,而不是默认滚动条,我想在其上放置图像。 >
IE允许更改某些滚动条元素的颜色。但其他浏览器 - 没有。
唯一的解决方案是使用自定义JS来实现这一点。但是,这总是更丑陋,无用,而不是本地控制。
看看: http://www.kelvinluck.com/assets/jquery/jScrollPane/jScrollPane.html
Can we change a scroll bar styling, Instead of default scroll bar, I want to place a image on it.
解决方案
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
这篇关于更改滚动条样式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文