Team:NTU-Taida/Templates/Footer
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 34: | Line 34: | ||
}); | }); | ||
} | } | ||
- | + | $('.toc').remove(); | |
function abbrSubnavText(displayText){ | function abbrSubnavText(displayText){ | ||
Line 83: | Line 83: | ||
$('#wiki-navbar.nav > li:contains("</html>{{{ActiveNavbar|Home}}}<html>")').addClass('active'); | $('#wiki-navbar.nav > li:contains("</html>{{{ActiveNavbar|Home}}}<html>")').addClass('active'); | ||
}) | }) | ||
+ | |||
+ | jQuery('ul.nav li.dropdown').hover(function() { | ||
+ | jQuery(this).closest('.dropdown-menu').stop(true, true).show(); | ||
+ | jQuery(this).addClass('open'); | ||
+ | }, function() { | ||
+ | jQuery(this).closest('.dropdown-menu').stop(true, true).hide(); | ||
+ | jQuery(this).removeClass('open'); | ||
+ | }); | ||
Revision as of 10:13, 26 September 2012