Creating a collapsible sidebar

over 8 years ago from , Product Designer at Memrise, Organiser of Design Club.

Hey guys,

So I am building a page which needs a collapsible sidebar - like this one on http://squarespace.com/stories - but I am not sure what would be considered 'best practice' in doing this.

My thoughts first went to absolutely positioning the menu just off screen, and animating it in with JS, but I wondered if there was a better way? Or indeed a plugin or template that has tackled this particularly well?

Thank you for your time!