Bug Tracker

Opened 15 years ago

Closed 14 years ago

#2208 closed feature (invalid)

Ability to disable specific accordion panes

Reported by: namesbc Owned by: joern
Priority: major Milestone: 1.2.3
Component: ui Version: 1.2.2
Keywords: accordion Cc:
Blocked by: Blocking:


It would be helpful to have the ability to enable/disable certain accordion panes. For example, disable a pane until an ajax request has completed loading the content contained within.

This could be implemented in the clickHandler by checking a html attribute in the header before opening the pane:

// If header is disabled then ignore click
if(clicked.attr('disable') == 'True') {
    return false;

Also, to allow javascript manipulation, write enable and disable functions which would add or remove the disabled attribute to the header specified by an index.

Change History (3)

comment:1 Changed 15 years ago by paul

Owner: changed from paul to joern

comment:2 Changed 15 years ago by joern

Sounds like a viable idea, to be implemented in a later release.

comment:3 Changed 14 years ago by joern

Resolution: invalid
Status: newclosed

Accordion is now part of jQuery UI

Note: See TracTickets for help on using tickets.