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>')});
+
$('#toc').hide();
 +
$('#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>')
 +
});
$('.sub-navlist').scrollspy();
$('.sub-navlist').scrollspy();
   $('#bodyContent').attr({
   $('#bodyContent').attr({

Revision as of 20:20, 27 August 2012