Bug Tracker

Ticket #993 (closed feature: worksforme)

Opened 8 years ago

Last modified 7 years ago

.expandAll() for Accordian plugin

Reported by: cdomigan Owned by: joern
Priority: trivial Milestone: 1.1.3
Component: plugin Version: 1.1.1
Keywords: Cc:
Blocking: Blocked by:

Description

Would be handy to have expandAll and closeAll functions that can be triggered.

Change History

comment:1 Changed 7 years ago by joern

  • need set to Review
  • Owner changed from john to joern

comment:2 Changed 7 years ago by robbiesmith7

$(".selector").activate(-1) will close all open menus...

If you wanted to expand all, there are several ways to do so, a) untested for ($x=0;$x<number_of_elements;$x++) {

$(".selector").activate($x);

} b) do them each one at a time by using the activate command

comment:3 Changed 7 years ago by joern

  • Status changed from new to closed
  • Resolution set to worksforme

The point of the accordion is to *not* allow more then one part being open. Closeing everything is already possible.

Note: See TracTickets for help on using tickets.