Team:Aalto-Helsinki/sidebar

From 2014.igem.org

(Difference between revisions)
Line 130: Line 130:
$(document).ready(function() {
$(document).ready(function() {
$('.sidebar-nav li ul li').hide();
$('.sidebar-nav li ul li').hide();
-
console.log($('.sidebar-nav li a'));
+
console.log($('.sidebar-nav ul li a.active'));
$('.sidebar-nav li a .active').siblings.show();
$('.sidebar-nav li a .active').siblings.show();

Revision as of 08:37, 16 June 2014