0

从 mysql 加载的数据未显示在折叠的引导手风琴中。它确实显示是否删除了类折叠。

<div class="accordion" id="accKarin"> 
   <div class="accordion-group"> 
    <div class="accordion-heading"> <a class="accordion-toggle" data-toggle="collapse" data-parent="#accKarin" href="#group1Karin"> <img src="img/karin.png" style="width:120px;" alt="Karin" />&nbsp;&nbsp;<b>Karin </b></a>
   </div>
   <div id="group1Karin" class="accordion-body collapse"> 
    <div class="accordion-inner"><?php $FP->Cms->display_block("index_karin", "wysiwyg");  ?>
    </div>
   </div>
  </div>
</div>

我怎样才能让它按预期工作?

4

1 回答 1

0

像这样添加incollapse类中:

<div id="group1Karin" class="accordion-body collapse in">
于 2013-08-05T14:36:24.077 回答