GumbyFramework / Gumby

A Flexible, Responsive CSS Framework - Powered by Sass
http://gumbyframework.com/
2.85k stars 442 forks source link

Multiple sidebar-nav instances #235

Open jeffdran opened 10 years ago

jeffdran commented 10 years ago

In Gumby's documentation, I really like the pinned sidebar navigation. However, on the site I'm working on, I need more than one sidebar nav. Is there an easy way I can have two or more #sidebar -nav instances (unique of course) without having to completely rewrite docs.js?

Everything in docs.js is statically defined to specific ids, but is there a way I can load them dynamically on Gumby.ready?

I have several sidebar navs that need to scroll with the content in each respective section. I tried everything I could to rewrite it to support classes, but no luck.

Thanks in advance