Team:Virginia/Parts
From 2014.igem.org
(Difference between revisions)
Line 95: | Line 95: | ||
<br> | <br> | ||
<script> | <script> | ||
+ | |||
+ | $(document).ready(function(){ | ||
$('#navbar > li').hover(function() { | $('#navbar > li').hover(function() { | ||
$(this).find('ul').slideToggle("slow"); | $(this).find('ul').slideToggle("slow"); | ||
Line 110: | Line 112: | ||
$('#navbar > li > a').hover(function(){$(this).parent().css("background-color","#5F9C87");}, function(){$(this).parent().css("background-color","#40CC9D");}); | $('#navbar > li > a').hover(function(){$(this).parent().css("background-color","#5F9C87");}, function(){$(this).parent().css("background-color","#40CC9D");}); | ||
- | + | }); | |
</script> | </script> | ||
</body> | </body> | ||
</html> | </html> |
Revision as of 15:18, 25 July 2014