SCROLLSPY
by bizamajig
HTML
<script src="http://www.thephpcode.com/assets/js/jquery-ui-1.10.3.custom.min.js"></script>
<script src="http://www.thephpcode.com/assets/js/bootstrap.min.js"></script>
<script src="http://www.thephpcode.com/assets/js/tinymce/tinymce.min.js"></script>
<link rel="stylesheet" href="http://www.thephpcode.com/assets/css/bootstrap.min.css">
<link rel="stylesheet" href="http://www.thephpcode.com/assets/css/bootstrap-theme.min.css">
<link rel="stylesheet" href="http://www.thephpcode.com/assets/css/jquery-ui-1.10.3.custom.min.css">
<link rel="stylesheet" href="http://www.thephpcode.com/assets/css/thephpcode.css">
<body style="" data-spy="scroll" data-target="#sidenav">
<nav class="navbar navbar-default navbar-fixed-top" role="navigation">
<!-- Brand and toggle get grouped for better mobile display -->
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a href="http://www.thephpcode.com/" class="navbar-brand">The PHP Code</a> </div>
<!-- Collect the nav links, forms, and other content for toggling -->
<div class="collapse navbar-collapse navbar-ex1-collapse">
<ul class="nav navbar-nav">
<!--li class="active">
<a href="http://www.thephpcode.com/help/pcg-features.html">PCG Features</a> </li-->
<li class="dropdown ">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Work Area <b class="caret"></b></a>
<ul class="dropdown-menu">
<li>
<a href="http://www.thephpcode.com/web/setting.html">Settings</a> </li>
...