Team:Imperial College London/Templates/Protocols
From 2011.igem.org
(Difference between revisions)
Line 10: | Line 10: | ||
var last = path.split("/"); | var last = path.split("/"); | ||
if ( last[1] ) { | if ( last[1] ) { | ||
- | $('.underlinemenu ul li a[href*="' + last[1] + '"]').addClass("curlink").css(" | + | $('.underlinemenu ul li a[href*="' + last[1] + '"]').addClass("curlink").css("background-color","#648765"); |
} | } | ||
else { | else { | ||
- | $('.underlinemenu ul li a[href$="' + path + '"]').addClass("curlink").css(" | + | $('.underlinemenu ul li a[href$="' + path + '"]').addClass("curlink").css("background-color","","#648765"); |
} | } | ||
}); | }); | ||
Line 39: | Line 39: | ||
.underlinemenu ul li a{ | .underlinemenu ul li a{ | ||
- | color: #225323; | + | color: #ffffff; |
+ | background-color: #225323; | ||
padding: 6px 3px 4px 3px; /*top padding is 6px, bottom padding is 4px*/ | padding: 6px 3px 4px 3px; /*top padding is 6px, bottom padding is 4px*/ | ||
- | margin-right: | + | margin-right: -4px; /*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{ | ||
- | + | background-color: #648765; | |
} | } | ||
Latest revision as of 20:25, 16 September 2011
Protocols
This page lists all the protocols used in our project. We have classified them into five main categories as follow.