Team:Aalto-Helsinki/sidebar
From 2014.igem.org
(Difference between revisions)
Vaakapallo (Talk | contribs) |
Vaakapallo (Talk | contribs) |
||
Line 1: | Line 1: | ||
- | + | <html> | |
- | / | + | <script src="//code.jquery.com/jquery-1.11.0.min.js"></script> |
- | + | <div id= "sidebar-wrapper"> | |
+ | <nav> | ||
+ | <ul class="sidebar-nav"> | ||
+ | <li> | ||
+ | <a class="home" href="https://2014.igem.org/Team:Aalto-Helsinki"> | ||
+ | Home | ||
+ | </a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team"> | ||
+ | Team | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-About">About us</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-Members">Members</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-Attributions">Attributions</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Team-Cooperation">Cooperation</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project"> | ||
+ | Project | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project-Abstract">Abstract</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project-Introduction">Introduction</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project-Methods">Methods</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project-Results">Results</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project-Discussion">Discussion</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Project-Parts">Parts</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling"> | ||
+ | Modeling | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling-Scent">Scent-Nuffusion</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling-Time">Time Spent</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Software"> | ||
+ | Software | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Modeling-Seeker">BioBrick Seeker</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Notes"> | ||
+ | Notes | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Notes-Notebook">Notebook</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Notes-Safety">Safety</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices"> | ||
+ | Human Practices | ||
+ | </a> | ||
+ | <ul> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices-Heureka">Heureka</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices-SoS">SoS</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices-Teaching-Videos">Teaching Videos</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices-Social-Media">Social Media</a> | ||
+ | </li> | ||
+ | <li> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Human-Practices-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> | ||
+ | <a href="https://2014.igem.org/Team:Aalto-Helsinki/Qualifications-Medals">Medals</a> | ||
+ | </li> | ||
+ | </ul> | ||
+ | </li> | ||
+ | </li> | ||
+ | <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"> | ||
+ | </a> | ||
+ | </ul> | ||
+ | </nav> | ||
+ | </div> | ||
+ | <script> | ||
+ | $(document).ready(function() { | ||
- | + | if(location.pathname != "/Team:Aalto-Helsinki") { | |
- | + | $('#sidebar-wrapper a[href^="https://2014.igem.org' + location.pathname + '"]').addClass('active'); | |
- | } | + | } else $('#sidebar-wrapper a.home').addClass('active'); |
- | + | $('.sidebar-nav li ul li').hide(); | |
- | + | console.log($('.sidebar-nav li a.active')); | |
- | + | $('.sidebar-nav 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> | |
- | + | </html> | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | .sidebar-nav li a | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | .sidebar-nav li a | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | .sidebar-nav li ul li a.active | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | .sidebar-nav | + | |
- | + | ||
- | + | ||
- | + | ||
- | . | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | } | + | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Revision as of 09:31, 18 June 2014