I have a left nav and overflow the page already.
What I want to do is the nav won't be able to overflow but it can be scroll and my content <div> won't be affected.
But I don't want to use iframe.
Is it possible to do?
http://www.bootply.com/69848
Similar with this example, but I want the "side" nav can be scroll also(if you resize it become smaller)
<script type="text/javascript">
$(function(){
$('#sidebar').affix({
offset: {
top: $('header').outerHeight(true),
bottom: $('footer').outerHeight(true)
}
});
</script>
<nav class="navbar navbar-default" role="navigation" >
<ul class="nav nav-stacked" id="sidebar" >
<?php
$groupInfo = $_SESSION['base_u_ldapGroup'];
// print_r( $groupInfo);
base_generateMenuBar($groupInfo)
?>
</ul>
</nav>
