m |
m |
||
Line 32: | Line 32: | ||
//$('#toc').children("ul").addClass("nav"); | //$('#toc').children("ul").addClass("nav"); | ||
$('#toc').children("ul").attr('id', 'tocnav'); | $('#toc').children("ul").attr('id', 'tocnav'); | ||
+ | $('#tocnav').addClass('nav'); | ||
$('body').scrollspy({ target: '#toc', offset:40 }); | $('body').scrollspy({ target: '#toc', offset:40 }); | ||
Revision as of 16:47, 16 July 2016