Team:Aalto-Helsinki/sidebar
From 2014.igem.org
(Difference between revisions)
Vaakapallo (Talk | contribs) |
|||
(43 intermediate revisions not shown) | |||
Line 14: | Line 14: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/About">About us</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Members">Members</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Attributions">Attributions</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation">Cooperation</a> |
</li> | </li> | ||
</ul> | </ul> | ||
Line 33: | Line 33: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Abstract">Abstract</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Introduction">Introduction</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Methods">Methods</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Results">Results</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Discussion">Discussion</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Parts">Parts</a> |
</li> | </li> | ||
</ul> | </ul> | ||
Line 58: | Line 58: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Scent">Scent-Nuffusion</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Time">Time Spent</a> |
</li> | </li> | ||
</ul> | </ul> | ||
Line 71: | Line 71: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Seeker">BioBrick Seeker</a> |
</li> | </li> | ||
</ul> | </ul> | ||
Line 81: | Line 81: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Notebook">Notebook</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Safety">Safety</a> |
</li> | </li> | ||
</ul> | </ul> | ||
Line 94: | Line 94: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Heureka">Heureka</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/SoS">SoS</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Teaching-Videos">Teaching Videos</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Social-Media">Social Media</a> |
</li> | </li> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Synthetic-Biology-For-Dummies">SynBio For Dummies</a> |
</li> | </li> | ||
</ul> | </ul> | ||
Line 115: | Line 115: | ||
</a> | </a> | ||
<ul> | <ul> | ||
- | <li> | + | <li style="display: none;"> |
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Medals">Medals</a> |
</li> | </li> | ||
</ul> | </ul> | ||
</li> | </li> | ||
</li> | </li> | ||
+ | <br> | ||
<a href="https://2014.igem.org/Main_Page"> | <a href="https://2014.igem.org/Main_Page"> | ||
<img src="https://static.igem.org/mediawiki/2014/5/5d/Aalto-helsinki-igem-black-100.png" width="55px"> | <img src="https://static.igem.org/mediawiki/2014/5/5d/Aalto-helsinki-igem-black-100.png" width="55px"> | ||
Line 129: | Line 130: | ||
<script> | <script> | ||
$(document).ready(function() { | $(document).ready(function() { | ||
+ | |||
if(location.pathname != "/Team:Aalto-Helsinki") { | if(location.pathname != "/Team:Aalto-Helsinki") { | ||
$('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active'); | $('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active'); | ||
} else $('#sidebar-wrapper a.home').addClass('active'); | } else $('#sidebar-wrapper a.home').addClass('active'); | ||
+ | |||
+ | //$('.sidebar-nav li ul li').hide(); | ||
+ | console.log($('.sidebar-nav li a.active').siblings()); | ||
+ | |||
+ | $('.sidebar-nav li a.active').siblings().children().show(); | ||
+ | $('.sidebar-nav li ul li a.active').parent().show(); | ||
+ | $('.sidebar-nav li ul li a.active').parent().siblings().show(); | ||
+ | $('.sidebar-nav li ul li a.active').addClass("submenu"); | ||
}); | }); | ||
</script> | </script> | ||
</html> | </html> |
Latest revision as of 08:02, 24 July 2014