jQuery: The Write Less, Do More JavaScript Library

Ticket #2809 (new feature)

Opened 4 months ago

Last modified 4 months ago

[accordion] reverse accordion

Reported by: joern Assigned to: joern
Type: feature Priority: minor
Milestone: 1.2.4 Component: ui
Version: 1.2.3 Keywords:
Cc: Needs: Review

Description

In a reverse accordion, content elements come before headers. Hacking the current implementation to support that is rather trivial:

1. Replace all instances of ".prev()" with ".next()"
2. Replace all instances of ".next()" with ".prev().prev()"  -
excluding the one we just created in step 1.

Making that an option is not.

Attachments

Change History

Changed 4 months ago by joern

  • owner changed from paul to joern
Note: See TracTickets for help on using tickets.