Yii Framework Development Tutorial Zii Component-accordion Sample _php Tutorial

Source: Internet
Author: User
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 ...

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.