Team:Imperial College London/Templates/Chemotaxis
From 2011.igem.org
(Difference between revisions)
Line 1: | Line 1: | ||
<html> | <html> | ||
<head> | <head> | ||
+ | |||
+ | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | ||
+ | <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function(){ | ||
+ | |||
+ | $(function(){ | ||
+ | var path = location.pathname.substring(1); | ||
+ | var last = path.split("/"); | ||
+ | if ( last[1] ) { | ||
+ | $('.underlinemenu ul li a[href*="' + last[1] + '"]').addClass("curlink").css("border-bottom","3px solid #225323"); | ||
+ | } | ||
+ | else { | ||
+ | $('.underlinemenu ul li a[href$="' + path + '"]').addClass("curlink").css("border-bottom","3px solid #225323"); | ||
+ | } | ||
+ | }); | ||
+ | }); | ||
+ | </script> | ||
+ | |||
<style type="text/css"> | <style type="text/css"> | ||
Line 25: | Line 44: | ||
margin-right: 20px; /*spacing between each menu link*/ | margin-right: 20px; /*spacing between each menu link*/ | ||
text-decoration: none; | text-decoration: none; | ||
- | |||
} | } | ||
.underlinemenu ul li a:hover, .underlinemenu ul li a.selected{ | .underlinemenu ul li a:hover, .underlinemenu ul li a.selected{ | ||
- | border-bottom | + | border-bottom: 3px solid #225323; /*bottom border is 3px*/ |
} | } | ||
Line 36: | Line 54: | ||
<body> | <body> | ||
+ | <hr style="color:#BDCBBD; height:3px;" /> | ||
<h1>Module 1: Phyto-Route</h1> | <h1>Module 1: Phyto-Route</h1> | ||
<div class="underlinemenu"> | <div class="underlinemenu"> | ||
<ul> | <ul> | ||
- | <li><a href="https://2011.igem.org/Team:Imperial_College_London/ | + | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project_Chemotaxis_Overview">Overview</a></li> |
- | <li><a href="https://2011.igem.org/Team:Imperial_College_London/ | + | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project_Chemotaxis_Specifications">Specifications</a></li> |
- | <li><a href="https://2011.igem.org/Team:Imperial_College_London/ | + | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project_Chemotaxis_Design">Design</a></li> |
- | <li><a href="https://2011.igem.org/Team:Imperial_College_London/ | + | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project_Chemotaxis_Modelling">Modelling</a></li> |
- | <li><a href="https://2011.igem.org/Team:Imperial_College_London/ | + | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project_Chemotaxis_Assembly">Assembly</a></li> |
- | <li><a href="https://2011.igem.org/Team:Imperial_College_London/ | + | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project_Chemotaxis_Testing">Testing</a></li> |
</ul> | </ul> | ||
</div> | </div> | ||
+ | <br/> | ||
+ | <hr style="color:#BDCBBD; height:3px;" /> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:22, 15 September 2011