如何为展开/折叠功能设置以下布局?
+ This is header having some text and links
This is item which was shown pressing + sign
This is another item...
Twitter Bootstrap具有功能,但我无法将Collapsible Group Item #1编辑为只是“+”号并在此之后立即具有纯文本/链接。
现场http://jsfiddle.net/c4jMh/2/问题是可见的,同样的代码也在这里:
<div class="accordion" id="accordion2">
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
+
</a>
This line should be next to above '+' sign and here some example link to be reside on that line also <a href="http://jsfiddle.net/">jsfiddle.net</a>
</div>
<div id="collapseOne" class="accordion-body collapse in">
<div class="accordion-inner">
Anim pariatur cliche...
</div>
</div>
</div>
<div class="accordion-group">
<div class="accordion-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseTwo">
Collapsible Group Item #2
</a>
</div>
<div id="collapseTwo" class="accordion-body collapse">
<div class="accordion-inner">
Anim pariatur cliche...
</div>
</div>
</div>
</div>
我正在尝试在 web2py 框架上使用 Bootstrap 来解决这个问题。