Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter akhayyat

    (@akhayyat)

    Hmm.. that actually does work already!
    Using the generated href anchor for each accordion title.

    Issue resolved ??

    Hi akhayyat,

    how did you do that exactly?
    I have tried and the anchor works, but the accordion does not expand, it stays closed.

    Thanks

    Thread Starter akhayyat

    (@akhayyat)

    mrrouge,

    It does not work any more.
    It worked then. Now, a few updates later, it does not.

    Thread Starter akhayyat

    (@akhayyat)

    Well, I take that last statement back.
    The href anchor does work.

    I had removed an accordion above the linked one, which changed the href anchor.
    After updating the link to use the new href, the link does expand the target accordion.

    Ah! Good news!

    So.. maybe you can help me.. where do you exactly insert the anchor?
    This is my code:

    [accordion]
        <br />
        [toggle title="Title" state="closed"]
    </p>
    <p>
        Text.....
        <a name="Anchor">
        </a>
    Text.....
    </p>
     [/toggle]

    And then the menu link is:

    https://address.com/pageofaccordion/#Anchor

    But the accordion “Title” stays closed.

    What’s wrong?Thanks again!

    Thread Starter akhayyat

    (@akhayyat)

    mrrouge,

    The anchor is auto-generated. You don’t need to insert any anchors yourself.

    Here is what I am doing:

    [accordions active=100 collapsible=true]
        [accordion title="Title"]
        Text.....
        [/accordion]
    [/accordions]

    Then, view the page, and hover over the accordion title with your mouse (or look up the href value of the a element inside the title’s h3).
    That link expands the accordion.

    Hi akhayyat,

    unfortunatly I can’t do that.
    Hovering with mouse the title does not display any link.

    this is the html code of the title (when open)

    <div class="toggle-title in-accordion expanded">
          Title
        </div>

    I think I have a differend accordion shortcode!

    Thread Starter akhayyat

    (@akhayyat)

    mrrouge,

    I think I have a differend accordion shortcode!

    Perhaps..

    Well, this is the support forum for the Accordion Shortcode plugin.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Link to expand a specific accordion’ is closed to new replies.