Team:Virginia/Notebook
From 2014.igem.org
(Difference between revisions)
Line 46: | Line 46: | ||
<script> | <script> | ||
+ | $('#navbar > li').hover(function() { | ||
+ | $(this).find('ul').slideToggle("slow"); | ||
+ | }); | ||
+ | |||
+ | |||
+ | $('#navbar > li > ul > li').mouseover(function(){ | ||
+ | $(this).css("background-color","#5F9C87"); | ||
+ | }); | ||
+ | |||
+ | $('#navbar li').hover(function(){ | ||
+ | $(this).css("background-color","#40CC9D"); | ||
+ | }); | ||
+ | |||
+ | |||
+ | $('#navbar > li > a').hover(function(){$(this).parent().css("background-color","#5F9C87");}, function(){$(this).parent().css("background-color","#40CC9D");}); | ||
</script> | </script> |
Revision as of 21:01, 24 July 2014