Bug Tracker

Modify

Ticket #993 (closed feature: worksforme)

Opened 7 years ago

Last modified 6 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 6 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.

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.