1
我有一个jQuery的移动滑块。jquery移动滑块
<input type="range" min="1" max="100" data-theme="d" data-highlight="true"/>
我的问题是,有没有办法改变滑块轨道上高光填充的颜色? (默认为蓝色)。
谢谢。
我有一个jQuery的移动滑块。jquery移动滑块
<input type="range" min="1" max="100" data-theme="d" data-highlight="true"/>
我的问题是,有没有办法改变滑块轨道上高光填充的颜色? (默认为蓝色)。
谢谢。
@Littm:我不想改变滑块的整个主题,我只想改变高亮填充的颜色。
我找到了答案,但:
我们只需要重写JQM适用的一类。
div.ui-btn-active{
background-image: -webkit-gradient(linear,left top,left bottom,from(#FF0000),to(#6FACD5)) !important;
}
其工作..!
我想你可以为你的jqm组件定义特定的主题:[http://jquerymobile.com/test/docs/api/themes.html](http://jquerymobile.com/test/docs/api/themes .html)或者你可以尝试玩CSS ...:S – Littm