0

很奇怪..我制作的手风琴是直接从引导页面复制的。第一次单击每个选项卡并展开,然后折叠它们时,它们工作正常......但是,如果您再次尝试,它们不会响应。这可能是什么原因造成的?这让我整天发疯。

你可以在这里看到一个例子 - http://v2.marlownailandbeauty.co.uk/index.php?option=com_content&view=article&id=18&Itemid=133

标记:

<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 reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.</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 reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.</div>
         </div>
    </div>
    <div class="accordion-group">
        <div class="accordion-heading"><a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion2" href="#collapseThree"> Collapsible Group Item #3 </a></div>
        <div id="collapseThree" class="accordion-body collapse">
            <div class="accordion-inner">Anim pariatur cliche reprehenderit, enim eiusmod high life accusamus terry richardson ad squid. 3 wolf moon officia aute, non cupidatat skateboard dolor brunch. Food truck quinoa nesciunt laborum eiusmod. Brunch 3 wolf moon tempor, sunt aliqua put a bird on it squid single-origin coffee nulla assumenda shoreditch et. Nihil anim keffiyeh helvetica, craft beer labore wes anderson cred nesciunt sapiente ea proident. Ad vegan excepteur butcher vice lomo. Leggings occaecat craft beer farm-to-table, raw denim aesthetic synth nesciunt you probably haven't heard of them accusamus labore sustainable VHS.</div>
        </div>
    </div>
</div>
4

1 回答 1

0

Joomla 默认包含 Mootools,删除 Mootools 为我解决了这个问题

您可以通过以下方式删除 Mootools:

<?php $headerstuff = $this->getHeadData();
foreach ($headerstuff['scripts'] as $k => $item) {
    if(stristr($k, 'mootools-core.js')) unset($headerstuff['scripts'][$k]);
    if(stristr($k, 'mootools-more.js')) unset($headerstuff['scripts'][$k]);
}
$this->setHeadData($headerstuff); ?>

我已经尝试安装 jQuery Easy 插件,但它并没有解决问题。

于 2013-10-09T20:14:57.210 回答