Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
Line 13: | Line 13: | ||
$('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'">'+$(this).children('span.toctext').text()+'</a></li>') | $('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'">'+$(this).children('span.toctext').text()+'</a></li>') | ||
}); | }); | ||
- | $(' | + | $('[data-spy="scroll"]').each(function () { |
+ | var $spy = $(this).scrollspy('refresh') | ||
+ | }); | ||
$('#bodyContent').attr({ | $('#bodyContent').attr({ | ||
'data-spy': 'scroll', | 'data-spy': 'scroll', |
Revision as of 20:22, 27 August 2012