• Resolved hiddenline

    (@hiddenline)


    Hi,
    thanks for this nice plugin. I have a question though:
    On a page, containing more spoiler instances, is it possible to make an allready opened spoiler close, by clicking and opening another spoiler? So that only 1 spoiler-wrap can be expanded at the time?
    Thanks for your help and sharing your work,
    Wolfgang

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author seshelby

    (@seshelby)

    There isn’t a feature to support this option?but I will explore how that can be added.

    Plugin Author seshelby

    (@seshelby)

    I have added an option to group accordions which will create the desired effect. Simply add the group attribute to each accordion shortcode that should close when others are opened.

    For example:
    [spoiler title=”Sample Code” initial_state=”expanded” tag=”h2″ group=”a”]
    Include content here
    [/spoiler]
    [spoiler title=”Sample Code” tag=”h2″? group=”a”]
    Include content here
    [/spoiler]

    • This reply was modified 4 years, 1 month ago by seshelby.
    Thread Starter hiddenline

    (@hiddenline)

    Hi,
    the last update brakes the group-option. The older version works perfectly. I wrote you an email some time ago.

    Maybe you can fix this sometime?

    Plugin Author seshelby

    (@seshelby)

    Could you please elaborate as to what is not working? It seems to be working in my testing.

    Thread Starter hiddenline

    (@hiddenline)

    Thanks für Your reply,
    you can see the Problem if you compare this pages. Actually they should look the exact same, first link is a testsite with the current Version of your Plugin, second is the productive site, wich still works, but with the older plugin Version):
    https://www.test1.solibre.de/design-mit-fokus-auf-datensicherheit-und-privacy/
    https://www.solibre.de/design-mit-fokus-auf-datensicherheit-und-privacy/

    Thans for your Help

    Plugin Author seshelby

    (@seshelby)

    Thank you for the additional information. I just pushed an update that should correct the issue.

    Thread Starter hiddenline

    (@hiddenline)

    Hi Seshelby,
    that is great. Thank you very much for this. I yust updated my plugins, including the
    Simple Accessible Spoilers. Yust works right now!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘expanding new spoiler while colapsing the other one?’ is closed to new replies.