Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 20: | Line 20: | ||
$('#toc').hide(); | $('#toc').hide(); | ||
$('#toc>tbody>tr>td>ul>li.toclevel-1>a').each(function(index){ | $('#toc>tbody>tr>td>ul>li.toclevel-1>a').each(function(index){ | ||
- | console.log($(this | + | console.log($(this)); |
$('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'-sec">'+$(this).children('span.toctext').text()+'</a></li>'); | $('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'-sec">'+$(this).children('span.toctext').text()+'</a></li>'); | ||
if(index==0){ | if(index==0){ |
Revision as of 01:09, 31 August 2012