Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

Really stuck with spry collapsible panels

  • 30-12-2009 10:24PM
    #1
    Registered Users, Registered Users 2 Posts: 155 ✭✭


    Hi all,

    I have ten collapsible panels on my site. To keep it tidy I'm trying to have a situation where you open one panel the the others shut. i.e you can only have one panel open at a time.
    The underlined code is the extra code I have inserted to try to achieve this but the panel I insert this to stays open all the time.

    Any ideas?

    Thanking you..



    </div>
    <div id="CollapsiblePanel2" class="CollapsiblePanel">
    <div class="CollapsiblePanelTab" tabindex="0"><a href="#" onclick="CollapsiblePanel1.close(); CollapsiblePanel3.close(); CollapsiblePanel4.close(); CollapsiblePanel5.close(); CollapsiblePanel6.close(); CollapsiblePanel7.close(); CollapsiblePanel8.close(); CollapsiblePanel9.close(); CollapsiblePanel10.close()"><span class="d">- CUSTOMER</span></div>


Comments

  • Registered Users, Registered Users 2 Posts: 155 ✭✭Adam anto


    Decided to use the accordian spry instead as this does it automatically..


Advertisement