[docs] Add bootstrap-collapse plugin, fixing collapsing navbar.

This commit is contained in:
Alec Perkins 2012-09-07 13:01:30 -04:00
parent 3306e448ef
commit 17654a8b54

View File

@ -143,10 +143,11 @@ margin-top: 5px;
<script src="{{ base_url }}/js/jquery.js"></script>
<script src="{{ base_url }}/js/bootstrap-dropdown.js"></script>
<script src="{{ base_url }}/js/bootstrap-scrollspy.js"></script>
<script src="{{ base_url }}/js/bootstrap-collapse.js"></script>
<script>
//$('.side-nav').scrollspy()
var shiftWindow = function() { scrollBy(0, -50) };
if (location.hash) shiftWindow();
window.addEventListener("hashchange", shiftWindow);
//$('.side-nav').scrollspy()
var shiftWindow = function() { scrollBy(0, -50) };
if (location.hash) shiftWindow();
window.addEventListener("hashchange", shiftWindow);
</script>
</body></html>