简体   繁体   English

jQuery嵌套手风琴无法完全打开:

[英]jQuery nested accordion does not fully open:

Could anyone help me out with the following: 任何人都可以在以下方面为我提供帮助:

The problem: 问题: 在此处输入图片说明

My code: 我的代码:

    $(document).ready(function () {
        $(function () {
            $('.additionalInfoAccordion').accordion({
                active: false,
                autoHeight: false,
                collapsible: true
            });
        });
    });

My divs: 我的div:

    <div class="additionalInfoAccordion">
        <h3>Extra informatie</h3>
        <div>

            <div class="additionalInfoAccordion">
                <h3>Intern commentaar</h3>
                <div>
                    <p>
                        Internal comment:
                    <asp:TextBox ID="txtInternalComment" TextMode="MultiLine" runat="server"></asp:TextBox>
                    </p>
                </div>
            </div>
            <div class="additionalInfoAccordion">
                <h3>Extern commentaar</h3>
                <div>
                    <p>
                        Externe comment:
                    <asp:TextBox ID="txtExternalComment" TextMode="MultiLine" runat="server"></asp:TextBox>
                    </p>
                </div>
            </div>
            <div class="additionalInfoAccordion">
                <h3>Ontwikkeling</h3>
                <div>
                    <p>
                        DevStartDate:
                <asp:TextBox ID="txtDevStartDate" runat="server"></asp:TextBox>
                    </p>
                    <p>
                        DevEndDate:
                <asp:TextBox ID="txtDevEndDate" runat="server"></asp:TextBox>
                    </p>
                    <p>
                        Ontwikkeltijd:
                <asp:TextBox ID="txtDevTime" runat="server"></asp:TextBox>
                    </p>
                    <p>
                        Versie:
                <asp:TextBox ID="txtReleaseVersion" runat="server"></asp:TextBox>
                    </p>
                </div>
            </div>
            <p></p>
        </div>
    </div>

The accordions do not open any further that it is now, how do I tell the jQuery to open them at "maximum range"? 手风琴现在不能再打开了,我如何告诉jQuery在“最大范围”下打开它们? I hope someone can help me with this. 我希望有人可以帮助我。 Thanks in advance. 提前致谢。

$('.additionalInfoAccordion').accordion({

  active: false,
  heightStyle: "content",
  collapsible: true

});

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM