CJuiAccordion change event

Hi guys,

i’m using the CJuiAccordion but i need to change something on the page as soon as a user clicks on one of the panels.

on http://jqueryui.com/demos/accordion/#event-change you can see that there is a change event. but how to implement this using the yii CJuiAccordion version.

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

    'id' => 'accordion',

     //additional javascript options for the accordion plugin


        'autoHeight' => false,

        'collapsible' => true



Hi; i encountered the same Situation when using the JuiAccordion for a menu-like structure. I doubt that it is possible to have an page outside of the Accordion show up when clicking on the label.

As a Workaround, i used the JuiTab-Widget to toggle through Menu-Entries and build the "menu" for myself. But i really would like to know if it is possible somehow with the Accordion!


how to use the accrodion change event in combination with the zii library?