Team:Aalto-Helsinki/sidebar

From 2014.igem.org

(Difference between revisions)
Line 137: Line 137:
console.log($('.sidebar-nav li a.active'));
console.log($('.sidebar-nav li a.active'));
$('.sidebar-nav li a.active').parent().show();
$('.sidebar-nav li a.active').parent().show();
-
$('.sidebar-nav li a.active').siblings().show();
+
$('.sidebar-nav li ul li a.active').siblings().show();
$('.sidebar-nav li ul li a.active').addClass("submenu");
$('.sidebar-nav li ul li a.active').addClass("submenu");
});
});
</script>
</script>
</html>
</html>

Revision as of 09:26, 18 June 2014