Nested, crashing sidebars with Bootstrap, Scrollspy and Collapse?

I would like to create a sub-navigation sidebar navigation that appears when the user enters the parent section on the page:

eg https://parse.com/docs/ios_guide#queries/iOS

enter image description here

I think the way to do it using bootstrap is a combination of plugins affix

, scrollspy

and collapse

, but I'm not sure how to fire the correct event collapse

when the user scrolls or clicks on the correct parent section.

+3


source to share


1 answer


For anyone else wondering, I ended up using the Tocify plugin. Not exactly what I had in mind, but does what I need.



+4


source







All Articles