Team:Imperial College London/Templates/Auxin
From 2011.igem.org
(Difference between revisions)
(Created page with "<html> <head> <style type="text/css"> .underlinemenu{ font-weight: bold; width: 100%; font-size: 17px; } .underlinemenu ul{ padding: 6px 0 7px 0; /*6px should equal top padding...") |
|||
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 2: Auxin Xpress</h1> | <h1>Module 2: Auxin Xpress</h1> | ||
<div class="underlinemenu"> | <div class="underlinemenu"> | ||
<ul> | <ul> | ||
<li><a href="https://2011.igem.org/Team:Imperial_College_London/Project/Auxin/Overview">Overview</a></li> | <li><a href="https://2011.igem.org/Team:Imperial_College_London/Project/Auxin/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_Auxin_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_Auxin_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_Auxin_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_Auxin_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_Auxin_Testing">Testing</a></li> |
</ul> | </ul> | ||
</div> | </div> | ||
+ | <br/> | ||
+ | <hr style="color:#BDCBBD; height:3px;" /> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 11:27, 15 September 2011