Bug Tracker

Opened 16 years ago

Closed 15 years ago

#993 closed feature (worksforme)

.expandAll() for Accordian plugin

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

Description

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

Change History (3)

comment:1 Changed 16 years ago by joern

need: Review
Owner: changed from john to joern

comment:2 Changed 16 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 15 years ago by joern

Resolution: worksforme
Status: newclosed

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.