Team:Virginia/Notebook
From 2014.igem.org
(Difference between revisions)
Line 30: | Line 30: | ||
<script> | <script> | ||
jQuery(document).ready(function() { | jQuery(document).ready(function() { | ||
+ | $('#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");}); | ||
}); | }); | ||
Line 78: | Line 93: | ||
height="27px"></a></li> | height="27px"></a></li> | ||
</ul> | </ul> | ||
+ | |||
Revision as of 20:50, 24 July 2014
Human Practices
NEXT TAB2 Prev
PREV TAB2