jQuery + anchor based accordion
jQuery + anchor based accordion
Out of context: Reply #3
- Started
- Last post
- 4 Responses
- acescence0
I find the accordion plugin to be quite bloated since it's a does-everything-for-everyone type of thing.
I usually just do this stuff manually using slideUp and slideDown and binding them to whatever you want to trigger the actions.
the hash bit is a simple matter of just setting location.hash whenever something is clicked.
on document load, you can retrieve location.hash and open the proper section