How to collapse categories (Web portal)
We are using a lot of different categories in our forum. And now it looks like a mess =)
For helping users to navigate I'm developed a widget which adding collapsing feature.
For each category widget adds a "[-]" button for collapsing. When category collapsed button changes to "[+]"
State "collapsed / restored" saves personally for each user in cookies.
Note: Works only for logged-in users. (deprecated)
How it looks you can see at screenshot in attachment (color stripes from other CSS widget, not from script)
Insert script below
UPDATED at 20 March 2013 (see comments below or forget and just grab a code :) )
Just use the last version of script https://gist.github.com/Mikhail-Zakharov/3465257
Or great fork from Richard Morrison:
- option to have categories collapsed by default
- when reloading pages, I don't like animations to trigger at page load. I'm happy for them to occur on clicks but I dislike pages that "twitch" as they load