打开手风琴面板,带链接

时间:2016-12-15 16:10:22

标签: javascript

我需要在第一个手风琴小组中添加链接以打开第二个手风琴小组。

<div class="dt-sc-toggle-frame-set  type2">
    <h5 class="dt-sc-toggle-accordion"><a href="#">Accordion1</a></h5>
    <div class="dt-sc-toggle-content" style="display: none;">
        <div class="block">
            Accordion panel 1
            <a href="#accordion2" class="dt-sc-button small orange">NEXT<span class="fa fa-home"></span></a>
        </div>
    </div>
    <h5 class="dt-sc-toggle-accordion" id="accordion2"><a href="#">Accordion2</a></h5>
    <div class="dt-sc-toggle-content" style="display: none;">
        <div class="block">
            Accordion panel 2
        </div>
    </div>
    <h5 class="dt-sc-toggle-accordion active"><a href="#">Accordion3</a></h5>
    <div class="dt-sc-toggle-content" style="display: block;">
        <div class="block">
            Accordion panel 3
        </div>
    </div>
</div>

0 个答案:

没有答案