Team:Aalto-Helsinki/sidebar

From 2014.igem.org

(Difference between revisions)
Line 135: Line 135:
$('.sidebar-nav li ul li').hide();
$('.sidebar-nav li ul li').hide();
-
console.log($('.sidebar-nav li a.active'));
+
console.log($('.sidebar-nav li a.active').siblings());
-
$('.sidebar-nav li a.active').parent().show();
+
 
 +
//$('.sidebar-nav li a.active').parent().show();
$('.sidebar-nav li ul li a.active').parent().siblings().show();
$('.sidebar-nav li ul li a.active').parent().siblings().show();
$('.sidebar-nav li ul li a.active').addClass("submenu");
$('.sidebar-nav li ul li a.active').addClass("submenu");

Revision as of 11:13, 18 June 2014