Template:Team:Washington/Templates/Top
From 2012.igem.org
(Difference between revisions)
Housekeeper (Talk | contribs) |
Housekeeper (Talk | contribs) |
||
Line 577: | Line 577: | ||
}); | }); | ||
// selection | // selection | ||
+ | |||
+ | var path = location.pathname; | ||
+ | $("a[href='" + [ path ] + "']").parents().parents().parents().each(function() { | ||
+ | $(this).addClass("selected"); | ||
+ | }); | ||
</script> | </script> |