update documentation

This commit is contained in:
Lee Lawlor
2014-02-28 13:57:58 -05:00
parent b8f2410d5f
commit 4b83bfc3cf
84 changed files with 2037 additions and 85 deletions

View File

@ -1,9 +1,12 @@
$(document).ready(function() {
// execute on window load (and not document.ready), so that the sidebar is positioned correctly
$(window).load(function() {
// if affix function exists
if ($.fn.affix) {
// add sidebar affix
$('#bootstrap-sidebar').affix();
// add sidebar affix, wrapped in a timeout so that it displays correctly
setTimeout(function() {
$('#bootstrap-sidebar').affix();
}, 100);
// add sidebar scrollspy
$(document.body).scrollspy({ target: '#leftcol', offset: 300 });