div>
div>
code> pre>
Additional attributes that you could pass into the shortcode
您可以传递给简码的其他属性
[accordions autoHeight=’true’ disabled=’false’ active=0 clearStyle=false collapsible=false fillSpace=false ]
[手风琴autoHeight ='true'已禁用='false'active = 0 clearStyle = false collapsible = false fillSpace = false]
[accordion title=’title1′ class=’new-class’]
[accordion title ='title1'class ='new-class']
Some Text
一些文字
[/accordion]
[/手风琴]
[accordion title=’title2′ class=’new-class’]
[accordion title ='title2'class ='new-class']
Some Text
一些文字
[/accordion]
[/手风琴]
[/accordions]
[/手风琴] p>
Sample CSS
示例CSS h3>
Here is some sample css to get you started.
以下是一些示例CSS,可以帮助您入门。
Another place to look for it would be the http://jqueryui.com/themeroller/, The shortcode used the jQuery UI to generate the accordion.
寻找它的另一个地方是http://jqueryui.com/themeroller/,该短代码使用jQuery UI生成了手风琴。 p>
.ui-accordion-header{ .ui-accordion-header { margin:5px 0 0;
边距:5px 0 0;
}
}
.ui-accordion-header a{
.ui手风琴标题a {
padding:5px 12px;
padding:5px 12px;
background: #CCC;
背景:#CCC;
color:#FFF;
颜色:#FFF;
display:block;
显示:块;
}
}
.ui-accordion-header.ui-state-active a,
.ui-accordion-header.ui-state-active a,
.ui-accordion-header a:hover{
.ui-accordion-header a:hover {
background-color: #DDD;
背景颜色:#DDD;
}
}
.ui-accordion-content{
.ui手风琴内容{
padding-top:10px;
padding-top:10px;
}
}
code> pre>