jquery select框应用jquery ui滑块slider制作日期时间进度条效果显示源码
淘建站为您提供更多_其它特效_jQuery插件_日期_时间,在此特别感谢您对我们的支持与厚爱!
演示不了,点击反馈
下载 65 次
15 积分
$(function(){
$('select').selectToUISlider({
labels: 7
});
//fix color
fixToolTipColor();
});
//purely for theme-switching demo... ignore this unless you're using a theme switcher
//quick function for tooltip color match
function fixToolTipColor(){
//grab the bg color from the tooltip content - set top border of pointer to same
$('.ui-tooltip-pointer-down-inner').each(function(){
var bWidth = $('.ui-tooltip-pointer-down-inner').css('borderTopWidth');
var bColor = $(this).parents('.ui-slider-tooltip').css('backgroundColor')
$(this).css('border-top', bWidth+' solid '+bColor);
});
}

