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