Team:NTU-Taida/Templates/Footer

From 2012.igem.org

(Difference between revisions)
m
Line 23: Line 23:
$('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"]').has('span.mw-headline').eq(index).before('<section id="'+$(this).attr('href').slice(1)+'-sec">')
+
$('h2[class!="firstHeading"]').has('span.mw-headline').eq(index).before('<section id="'+$(this).attr('href').slice(1)+'-sec">')
}else{
}else{
-
$('h1[class!="firstHeading"]').has('span.mw-headline').eq(index).before('</section><section id="'+$(this).attr('href').slice(1)+'-sec">')
+
$('h2[class!="firstHeading"]').has('span.mw-headline').eq(index).before('</section><section id="'+$(this).attr('href').slice(1)+'-sec">')
}
}
});
});
-
$('h1[class!="firstHeading"]').has('span.mw-headline').wrap('<div class="page-header"></div>');
+
$('h2[class!="firstHeading"]').has('span.mw-headline').wrap('<div class="page-header"></div>');
-
$('#toc').remove();
+
//$('#toc').remove();
   $('body').attr({
   $('body').attr({

Revision as of 06:33, 1 September 2012

© This is footer

© This is footer

© This is footer

© This is footer