* @link http://www.yiiframework.com/ * @copyright 2008-2013 Yii Software LLC * @license http://www.yiiframework.com/license/ */ Yii::import('zii.widgets.jui.CJuiWidget'); /** * CJuiSlider displays a slider. * * CJuiSlider encapsulates the {@link http://jqueryui.com/slider/ JUI * slider} plugin. * * To use this widget, you may insert the following code in a view: *
* $this->widget('zii.widgets.jui.CJuiSlider',array( * 'value'=>37, * // additional javascript options for the slider plugin * 'options'=>array( * 'min'=>10, * 'max'=>50, * ), * 'htmlOptions'=>array( * 'style'=>'height:20px;', * ), * )); ** * By configuring the {@link options} property, you may specify the options * that need to be passed to the JUI slider plugin. Please refer to * the {@link http://api.jqueryui.com/slider/ JUI Slider API} documentation * for possible options (name-value pairs) and * {@link http://jqueryui.com/slider/ JUI Slider page} for general * description and demo. * * @author Qiang Xue