خرید بک لینک

Vote count: 0

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>

asked 3 mins ago

برچسب: نویسنده: استخدام کار تاريخ: پنجشنبه 12 فروردين 1395 ساعت: 16:53

صفحه بندی