Template:Team:Washington/Templates/Top
From 2012.igem.org
(Difference between revisions)
Housekeeper (Talk | contribs) |
Housekeeper (Talk | contribs) |
||
Line 184: | Line 184: | ||
} | } | ||
- | #igemuwmenu a. | + | #igemuwmenu a.active { |
background-color: #000000; | background-color: #000000; | ||
} | } | ||
Line 579: | Line 579: | ||
$(document).ready(function(){ | $(document).ready(function(){ | ||
var currentUrl = $(this).attr('href'); | var currentUrl = $(this).attr('href'); | ||
- | $('a[href= | + | if (currentUrl) |
+ | $('a[href='" + currentUrl + "']').addClass('active'); | ||
}); | }); | ||