Team:Imperial College London/Templates/Protocols
From 2011.igem.org
(Difference between revisions)
Line 11: | Line 11: | ||
var last = path.split("/"); | var last = path.split("/"); | ||
if ( last[1] ) { | if ( last[1] ) { | ||
- | $('.underlinemenu ul li a[href*="' + last[1] + '"]').addClass("curlink").css("border-bottom | + | $('.underlinemenu ul li a[href*="' + last[1] + '"]').addClass("curlink").css("border-bottom","3px solid #225323"); |
} | } | ||
else { | else { | ||
- | $('.underlinemenu ul li a[href$="' + path + '"]').addClass("curlink").css("border-bottom | + | $('.underlinemenu ul li a[href$="' + path + '"]').addClass("curlink").css("border-bottom","3px solid #225323"); |
} | } | ||
}); | }); |
Revision as of 10:48, 15 September 2011