出于某种原因,我实现的手风琴在 IE 7 到 9 中运行不顺畅,它们总是需要额外的点击才能开始工作。
一旦它开始工作,就不需要额外的点击来在隐藏和显示之间切换。
有谁知道如何解决这个问题?
<div class="container_inner row-fluid accordion-group"">
<div class="accordion-heading accordion-scrolldown">
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#accordion2" href="#collapseOne">
<p class="span4">text</p><p class="span4">text</p><p class="span4">text</p>
</a>
</div>
<div class="accordion-body in collapse" style="float: left; width: 100%; height: auto;" id="collapseOne">
<div class="accordion-inner">
<div class="span4">
content1</div>
<div class="span4">
content2</div>
<div class="span4">
content3</div>
</div>
</div>
</div>
这是 inti
$j( ".accordion .accordion_inner" ).accordion({
animate: "swing",
collapsible: true,
active: false,
icons: "",
heightStyle: "content"
});