Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
Line 9: | Line 9: | ||
}); | }); | ||
//for scroll spy | //for scroll spy | ||
+ | $('#toc>tbody>tr>td>ul>li.toclevel-1>a').each(function(index){$('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'">'+$(this).children('span.toctext').text()+'</a></li>')}); | ||
$('#bodyContent').attr({ | $('#bodyContent').attr({ | ||
'data-spy': 'scroll', | 'data-spy': 'scroll', |
Revision as of 20:18, 27 August 2012