我正在尝试对齐7个verticle kendo-ui滑块小部件的顶部 并且他们没有在IE9(FF34工作)中对齐,除非我设置 max:,min:,smallStep:和largeStep:都一样。
参见示例:jsfiddle
$(document).ready(function(){
$(".eqSliderYr").kendoSlider({
orientation: "vertical",
min: 2000,
max: 2015,
smallStep: 1,
largeStep: 5,
showButtons: true,
increaseButtonTitle: "+ Year",
decreaseButtonTitle: "- Year",
});
$(".eqSliderMon").kendoSlider({
orientation: "vertical",
min: 1,
max: 12,
smallStep: 1,
largeStep: 5,
showButtons: true,
increaseButtonTitle: "+ Month",
decreaseButtonTitle: "- Month",
});
...
// ---------------------------------------------------------------
// 2nd group of sliders. All have the same
// max:, min:, smallStep, and largeStep settings
// ---------------------------------------------------------------
$(".eq2SliderYr").kendoSlider({
orientation: "vertical",
min: 1,
max: 91,
smallStep: 1,
largeStep: 20,
showButtons: true,
increaseButtonTitle: "+ Year",
decreaseButtonTitle: "- Year",
});
$(".eq2SliderMon").kendoSlider({
orientation: "vertical",
min: 1,
max: 91,
smallStep: 1,
largeStep: 20,
showButtons: true,
increaseButtonTitle: "+ Month",
decreaseButtonTitle: "- Month",
});
//...
});
答案 0 :(得分:0)