Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Accordion with arbitrary elements, e.g. <dt> and <dd> #13057

Closed
Niklas-Peter opened this issue Mar 13, 2014 · 1 comment
Closed

Accordion with arbitrary elements, e.g. <dt> and <dd> #13057

Niklas-Peter opened this issue Mar 13, 2014 · 1 comment

Comments

@Niklas-Peter
Copy link

Is a use as below not intended or am I doing sth. wrong, I have already checked it many times? Obviously the class "in" is not removed from the other items when clicking on another one.

Here online: http://jsfiddle.net/h95sT/

    <dl id="faq">
    <dt data-parent="#faq" data-target="#answer-1" data-toggle="collapse">
    Term 1</dt>

    <dd class="collapse in" id="answer-1">description 1</dd>

    <dt data-parent="#faq" data-target="#answer-2" data-toggle="collapse">
    Term 2</dt>

    <dd class="collapse" id="answer-2">description 2</dd>
    </dl>
@cvrebert
Copy link
Collaborator

Duplicate of #11191.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants