我正在浏览引导程序的示例:
<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">
Collapsible Group Item #1
</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>
现在输出如下所示:
Collpasible Item 1#
Collpasible Item 1#
但我希望输出看起来像:
Collpasible Item 1# Collpasible Item 2#
occupy with the reusult of item 1 if 1 is clicked
Collpasible Item 1# Collpasible Item 2#
occupy with the reusult of item 2 if 2 is clicked
添加简单inline
不起作用。