Team:NTU-Taida/Templates/Footer

From 2012.igem.org

(Difference between revisions)
Line 20: Line 20:
     //for sidebar and scroll spy
     //for sidebar and scroll spy
     $('.toc').hide();
     $('.toc').hide();
-
     if ("</html>{{{ActiveNavbar|Home}}}<html>" == "Project"){
+
     var activeItem = "</html>{{{ActiveNavbar|Home}}}<html>";
 +
    if (activeItem.split(',')[0] == "Project"){
     // project sidebar
     // project sidebar
     console.log('Enter Project sideabr mode');
     console.log('Enter Project sideabr mode');

Revision as of 11:23, 26 September 2012