Template:Team:Washington/Templates/Top

From 2012.igem.org

(Difference between revisions)
Line 598: Line 598:
<script type="text/javascript">
<script type="text/javascript">
$(document).ready(function(){
$(document).ready(function(){
-
$("#content li").click(function() {
+
$("#content li").find("a[href='"+window.location.href+"']").each(function(){
-
$(this).find("a").addClass('active');
+
        $(this).find("a").addClass("selected")
         })
         })
})
})

Revision as of 05:30, 29 September 2012