Sidebar enhancements

Sidebar screenshotYou may have noticed after the current site redesign that the sidebar panels now sport toggle buttons that allow you to open and close them with slick Scriptaculous sliding effects.

I’ve taken this a step further by using cookies to store your panels’ status, keeping the same panels opened or closed as you go from page to page (and between browser sessions… but since it’s client-side, it doesn’t follow you to different computers).

The next step will be to add handles, allowing you to change the order of the panels as well. Stay tuned! (Or not.)

For the geeks among you, I’ve facilitated all of this additional functionality by writing some object-oriented PHP for handling the panels. It’s much cleaner and less prone to error.