Team:Aalto-Helsinki/sidebar

From 2014.igem.org

(Difference between revisions)
Line 15: Line 15:
<ul>
<ul>
<li>
<li>
-
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-About">About us</a>
+
<a href="https://2014.igem.org/Team:Aalto-Helsinki/About">About us</a>
</li>
</li>
<li>
<li>
-
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-Members">Members</a>
+
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Members">Members</a>
</li>
</li>
<li>
<li>
-
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-Attributions">Attributions</a>
+
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Attributions">Attributions</a>
</li>
</li>
<li>
<li>
-
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-Cooperation">Cooperation</a>
+
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation">Cooperation</a>
</li>
</li>
</ul>
</ul>
Line 137: Line 137:
console.log($('.sidebar-nav li a.active').siblings());
console.log($('.sidebar-nav li a.active').siblings());
-
//$('.sidebar-nav li a.active').parent().show();
+
$('.sidebar-nav li a.active').siblings().children().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:18, 18 June 2014