m |
m |
||
Line 31: | Line 31: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
− | $('body').scrollspy({ target: '#toc', offset:40 }) | + | $('body').scrollspy({ target: '#toc', offset:40 }); |
/* $('#toc').on('activate.bs.scrollspy', function () { | /* $('#toc').on('activate.bs.scrollspy', function () { | ||
$('li.active').prevAll().addClass('before'); | $('li.active').prevAll().addClass('before'); |
Revision as of 11:50, 10 July 2016