Template:Team:Washington/Templates/Top

From 2012.igem.org

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

Revision as of 05:32, 29 September 2012