I've been troubling myself to achieve this with twitter bootstrap accordion:
Generally, using the accordion (bootstraps collapse plugin) is not a must.
What I want to achieve is to:
- use bootstrap as base framework,
- have fixed-top navbar,
- have full width/height content w/o scrollbars,
- have 3 separate, collapsible content panes (with always only one being expanded),
- have clicking on header part expand the content pane (and collapsing the previously expanded one),
- have scrolling occur only in the one expanded content pane (DIV 1|2|3 in pic),
- when content panes are collapsed, to have their overflow hidden,
- have each content pane have its configurable min-height (for its "header"),
- have this properly working for responsive layouts.
Would really love to get some help on this as I think I'm loosing my mind over this :(
The use of additional jQuery plugins (like jQuery UI) is "allowed".
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…