Team:NTU-Taida/Templates/Footer

From 2012.igem.org

(Difference between revisions)
Line 12: Line 12:
$('#toc>tbody>tr>td>ul>li.toclevel-1>a').each(function(index){
$('#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>')
$('ul.sub-navlist').append('<li><a href="'+ $(this).attr('href') +'">'+$(this).children('span.toctext').text()+'</a></li>')
 +
$('#toc').remove();
});
});
-
   $('.span9').attr({
+
   $('div.container > div.row').attr({
     'data-spy': 'scroll',
     'data-spy': 'scroll',
     'data-target': ".my-sidebar",
     'data-target': ".my-sidebar",

Revision as of 20:35, 27 August 2012