The Zii component contains some jquery-based UI components that are defined in the package Zii.widgets.jui, including Cjuiaccordion, Cjuiautocomplete,cjuidatepicker, and so on. This article describes Cjuiaccordion, which shows a accordion component (a UI component that is similar to accordion folding). This control encapsulates the JUI accordion plugin. The basic usage is as follows: [PHP] Widget (' zii.widgets.jui.CJuiAccordion ', array (' Panels ' =>array (' Panel 1 ' = ' Content for panel 1 ', ' panel 2 ' = = ') Content for panel 2 ', ' Panel 3 ' = $this->renderpartial (' _content1 ', null,true), ' Options ' =>array (' Collapsible ' =>true, ' active ' =>1, ' htmloptions ' =>array (' style ' = ' width:500px; '),);?> Widget (' zii.widgets.jui.CJuiAccordion ', array (' Panels ' =>array (' Panel 1 ' = ' Content for panel 1 ', ' panel 2 ' = = ') Content for panel 2 ', ' Panel 3 ' = $this->renderpartial (' _content1 ', null,true), ' Options ' =>array (' Collapsible ' =>true, ' active ' =>1, ' htmloptions ' =>array (' style ' = ' width:500px; '),);?> by definition panels The Accordion property defines several collapsible pages for the JUI accordion plug-in by configuring options delivery parameters.
http://www.bkjia.com/PHPjc/477834.html www.bkjia.com true http://www.bkjia.com/PHPjc/477834.html techarticle The zii component contains some jquery-based UI components that are defined in the package Zii.widgets.jui, including Cjuiaccordion, Cjuiautocomplete,cjuidatepicker, and so on. This article introduces Cjuiacc ...