关于Cjuiwidget、cjuiaccordion、ctreeview等Widget里面的Options有哪些??

最近经常用到了 CJuiAccordion、CJuiTabs、CTreeView 等几个与Jquery或ajax有关的部件,对里面的设置options属性不太了解,查看了api也没有具体说明里面有哪些属性或者选项可以设置。

从论坛的一些实例看到若干的属性,我想比较全面了解一下options里面有哪些设置项或者常用的属性,希望大家帮助一下或者给一下相关的链接,学习学习 :) :)

I have same issue, anyone can share that?

I tried below url link, and viewed demo source code, still not get much idea on that.

http://jqueryui.com/accordion/

So far I only know:




$this->widget('zii.widgets.jui.CJuiAccordion',array(

     'panels'=>array(

     'panel 1'=>'content for panel 1',

     'panel 2'=>'content for panel 2',

     // panel 3 contains the content rendered by a partial view

     'panel 3'=>$this->renderPartial('_partial',null,true),

   ),

   // additional javascript options for the accordion plugin

   'options'=>array(

     'animated'=>'bounceslide', //means bounce slide 有弹簧特效

   ),

 ));



Some other available options like:




        'active'=>true,  //if true, no active panels when open. 没有Panel处在打开状态,在一开始。如果你想显示一个Penel在一开始,则这个选项必须设为FALSE。

        'atuotHeight'=>false,

        //'animated'=>'bounceslide',

        'alwaysOpen'=>false,

        'collapsible'=>true, //if true, allow to collapse on panel。 如果这个选项为TRUE,则允许你打开并合上Panel。