I'm trying to design a site using Bootstrap 3 with a top navbar and a left side navbar that slides in on demand. I'm not sure if I should be using something off-campus that slides in, or using collapse. I've tried using collapse and here's what I've got so far:
http://www.bootply.com/kUYl9617Fc
Click Reports->Toggle Report Data 1 to toggle the slide effect. There's some things that are wrong with it.
- It slides down from the top. I'd like it to slide in from the left.
- My "Main Content here" text should appear to the right just like the 'Lorem ipsum' content in the pic below, not below the slide in content. Ideally I'd like "Main Content here" to get pushed right and be centered in the remaining area of the page.
Please note, I've seen plenty of examples on the web of slide in navbars from the side and the reason I'm not simply copying their examples, is because the slide in content fills the page from top to bottom and pushes to the side the top navbar as well. I'm trying to avoid this. It's really important that the slide in content appear below the top navbar like in the mockup.
Ultimately what I'm trying to achieve is something that looks like this:
Where clicking Reports at the top opens a drop down menu for users to select a category. This slides in a list of sub-categories on the left hand side and pushes the 'Lorem ipsum' content to the right. The mockup is not exact: where it says "Local Catalog Maintenance" I'd actually like that to be included within the sidebar, kind of like a Brand maybe (and I'd shrink that text to fit appropriately).
Thanks in advance for any help.
Edit: Changed the bootply link to incorporate SiggyF's correction. I also moved the id="collapseExample" from the row div above it to the <div class="col-sm-3"
below it.