Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
Line 21: | Line 21: | ||
$('.toc').hide(); | $('.toc').hide(); | ||
var activeItem = "</html>{{{ActiveNavbar|Home}}}<html>"; | var activeItem = "</html>{{{ActiveNavbar|Home}}}<html>"; | ||
- | if (activeItem.split(',')[0] == "Project"){ | + | /*if (activeItem.split(',')[0] == "Project"){ |
// project sidebar | // project sidebar | ||
console.log('Enter Project sideabr mode'); | console.log('Enter Project sideabr mode'); | ||
- | }else{ | + | }else{*/ |
// all other sidebars | // all other sidebars | ||
$('#toc>tbody>tr>td>ul>li.toclevel-1>a').each(function(index){ | $('#toc>tbody>tr>td>ul>li.toclevel-1>a').each(function(index){ | ||
Line 35: | Line 35: | ||
} | } | ||
}); | }); | ||
- | + | // } | |
$('.toc').remove(); | $('.toc').remove(); | ||
Revision as of 17:23, 26 September 2012