Team:Virginia/Notebook
From 2014.igem.org
(Difference between revisions)
Line 45: | Line 45: | ||
#navbar{ | #navbar{ | ||
text-align:center; | text-align:center; | ||
+ | } | ||
+ | |||
+ | .dd{ | ||
+ | |||
} | } | ||
Line 64: | Line 68: | ||
#navbar li li{ | #navbar li li{ | ||
width:100%; | width:100%; | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
} | } | ||
Line 141: | Line 139: | ||
<br> | <br> | ||
<script> | <script> | ||
+ | |||
+ | #(document).ready(function(){ | ||
$('#navbar > li').hover(function() { | $('#navbar > li').hover(function() { | ||
$(this).find('ul').slideToggle(); | $(this).find('ul').slideToggle(); | ||
Line 156: | Line 156: | ||
$('#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:07, 25 July 2014