Accordion | jQuery | 手风琴

Accordion

Accordion for jQuery

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

  • Foods
    • Fruits
      • apple
      • orange
    • Vegetables
      • tomato
      • carrot
      • cabbage
      • potato
      • lettuce
Accordion | jQuery | 手风琴_第1张图片
add、remove、select


Accordion for jQuery

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

Accordion | jQuery | 手风琴_第2张图片
multiple

A programming language is a formal language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.

Java (Indonesian: Jawa) is an island of Indonesia. With a population of 135 million (excluding the 3.6 million on the island of Madura which is administered as part of the provinces of Java), Java is the world's most populous island, and one of the most densely populated places in the world.

C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

A dynamic, reflective, general-purpose object-oriented programming language.

Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing.

Accordion | jQuery | 手风琴_第3张图片
方向

Accordion for jQuery

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

  • Foods
    • Fruits
      • apple
      • orange
    • Vegetables
      • tomato
      • carrot
      • cabbage
      • potato
      • lettuce
Accordion | jQuery | 手风琴_第4张图片
宽度

width: 100%

width: 50%

Accordion | jQuery | 手风琴_第5张图片
展开

Accordion for jQuery

Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

Content1

Content2

Accordion | jQuery | 手风琴_第6张图片

你可能感兴趣的:(Accordion | jQuery | 手风琴)