Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Really stuck with spry collapsible panels

Options
  • 30-12-2009 10:24pm
    #1
    Registered Users 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 Posts: 155 ✭✭Adam anto


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


Advertisement