Team:Aalto-Helsinki/sidebar
From 2014.igem.org
(Difference between revisions)
Vaakapallo (Talk | contribs) |
|||
(47 intermediate revisions not shown) | |||
Line 13: | Line 13: | ||
Team | Team | ||
</a> | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/About">About us</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Members">Members</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Attributions">Attributions</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Cooperation">Cooperation</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
<a href="https://2014.igem.org/Team:Aalto-Helsinki/Project"> | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project"> | ||
- | Project | + | Project |
</a> | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Abstract">Abstract</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Introduction">Introduction</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Methods">Methods</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Results">Results</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Discussion">Discussion</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Parts">Parts</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling"> |
- | + | Modeling | |
</a> | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Scent">Scent-Nuffusion</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Time">Time Spent</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Software"> |
- | + | Software | |
</a> | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Seeker">BioBrick Seeker</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
<li> | <li> | ||
- | <a href="https://2014.igem.org/Team:Aalto-Helsinki/ | + | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Notes"> |
- | + | Notes | |
</a> | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Notebook">Notebook</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Safety">Safety</a> | ||
+ | </li> | ||
+ | </ul> | ||
</li> | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices"> | ||
+ | Human Practices | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Heureka">Heureka</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/SoS">SoS</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Teaching-Videos">Teaching Videos</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Social-Media">Social Media</a> | ||
+ | </li> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Synthetic-Biology-For-Dummies">SynBio For Dummies</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Qualifications"> | ||
+ | Qualifications | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li style="display: none;"> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Medals">Medals</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </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/ | + | <img src="https://static.igem.org/mediawiki/2014/5/5d/Aalto-helsinki-igem-black-100.png" width="55px"> |
</a> | </a> | ||
</ul> | </ul> | ||
Line 42: | 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'); | ||
- | console.log( | + | |
+ | //$('.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