var Slider = null;
var initControlVariables = function(){
Slider = Matrix.getObject("Slider");
setSliderGreen();
};
initControlVariables();
function setSliderGreen(){
var green = {
bar: '#82d173',
line: '#dbf4a7',
handle: '#b6e94c',
hadleHover: '#91ba3c',
fromtoBgColor: '#416839',
activeBgColor: '#51ba3d',
text: 'white',
grid: '#c273d1'
};
// Slider의 스타일 객체 : Slider.sliderStyle
Slider.sliderStyle.BarBackground = green.bar;
Slider.sliderStyle.LineBackground = green.line;
Slider.sliderStyle.HandleColor = green.handle;
Slider.sliderStyle.HoverHandleColor = green.hadleHover;
Slider.sliderStyle.FromToDataLabelBackgroundColor = green.fromtoBgColor;
Slider.sliderStyle.FromToDataLabelTextColor = green.text;
Slider.sliderStyle.ActiveDataLabelBackgroundColor = green.activeBgColor;
Slider.sliderStyle.GridColor = green.grid;
Slider.sliderStyle.HandleBorderColor = green.activeBgColor;
Slider.sliderStyle.GridTextFont = 'Courier';
}
|