change the global theme of JUI ?

I want to change the look of the JUI with sunny Thame. and I want to apply to the all page. I’ve tried several ways but not succeeded, the thame still base.

I do this step :

  • download UI jquery-ui-1.8.13.custom.zip, I then extract and I put in the css directory.

and than, i tried to call in Dialog widget:




$this->beginWidget('zii.widgets.jui.CJuiDialog', array(

    'id'=>'mydialog',

    // additional javascript options for the dialog plugin

    'options'=>array(

        'title'=>'Dialog box 1',

        'autoOpen'=>false,

		 'themeUrl' => Yii::app()->baseUrl.'/css/jqui' ,

		'theme'=>'sunny',        //try 'bee' also to see the changes

		'cssFile'=>array('jquery.ui.css' /*,anotherfile.css, etc.css*/),


    ),

));



but no changes have occurred.

How do this ?

Move theme and themeUrl out of options. See the API reference.

/Tommy