HTML tutorial
CSS3 tutorial
Bootstrap tutorial
JavaScript tutorial
JQuery tutorial
AngularJS tutorial
React tutorial
NodeJS tutorial
PHP tutorial
Python tutorial
Python3 tutorial
Django tutorial
Linux tutorial
Docker tutorial
Ruby tutorial
Java tutorial
C tutorial
C ++ tutorial
Perl tutorial
JSP tutorial
Lua tutorial
Scala tutorial
Go tutorial
ASP.NET tutorial
C # tutorial
In this tutorial, you will learn about easyui folding panel (Accordion) knowledge. Folding panel (Accordion) contains a series of panel (panel). All panels (panel) of the head (header) is visible, but only once a display panel (panel) of the body content. When the user clicks the panel (panel) of the head (header) when the panel (panel) of the body content will be visible, while the other panel (panel) will hide the body content is not visible.
We will create three panels (panel), the third panel (panel) contains a tree menu.
<Div class = "easyui-accordion" style = "width: 300px; height: 200px;"> <Div title = "About Accordion" iconCls = "icon-ok" style = "overflow: auto; padding: 10px;"> <H3 style = "color: # 0099FF;"> Accordion for jQuery </ h3> <P> Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily. </ P> </ Div> <Div title = "About easyui" iconCls = "icon-reload" selected = "true" style = "padding: 10px;"> easyui help you build your web page easily </ Div> <Div title = "Tree Menu"> <Ul id = "tt1" class = "easyui-tree"> <Li> <Span> Folder1 </ span> <Ul> <Li> <Span> Sub Folder 1 </ span> <Ul> <Li> <span> File 11 </ span> </ li> <Li> <span> File 12 </ span> </ li> <Li> <span> File 13 </ span> </ li> </ Ul> </ Li> <Li> <span> File 2 </ span> </ li> <Li> <span> File 3 </ span> </ li> </ Ul> </ Li> <Li> <span> File2 </ span> </ li> </ Ul> </ Div> </ Div>