Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 13: | Line 13: | ||
$('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){ | ||
- | $('h1[class!="firstHeading"]').eq(index).before('<section id="'+$(this).attr('href').slice(1)+' | + | $('h1[class!="firstHeading"]').eq(index).before('<section id="'+$(this).attr('href').slice(1)+'-sec">') |
}else{ | }else{ | ||
$('h1[class!="firstHeading"]').eq(index).before('</section><section id="'+$(this).attr('href').slice(1)+'"-sec>') | $('h1[class!="firstHeading"]').eq(index).before('</section><section id="'+$(this).attr('href').slice(1)+'"-sec>') |
Revision as of 20:56, 27 August 2012