Team:BIOSINT Mexico/Header
From 2013.igem.org
(Difference between revisions)
Line 220: | Line 220: | ||
<script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js"></script> | ||
+ | <script type="text/javascript"> | ||
+ | $(document).ready(function () { | ||
+ | |||
+ | |||
+ | |||
+ | $("ul.menu_body li:even").addClass("alt"); | ||
+ | $('div#navigation ul li a').mouseover(function () { | ||
+ | //alert(this); | ||
+ | $(this).parent().find("ul.menu_body").slideDown('medium'); | ||
+ | $(this).parent().hover(function() { | ||
+ | }, function(){ | ||
+ | $(this).parent().find("ul.menu_body").slideUp('medium'); | ||
+ | }); | ||
+ | }); | ||
+ | |||
+ | $('ul.menu_body li a').mouseover(function () { | ||
+ | $(this).animate({ fontSize: "16px" }, 50 ); | ||
+ | }); | ||
+ | $('ul.menu_body li a').mouseout(function () { | ||
+ | $(this).animate({ fontSize: "15px" }, 50 ); | ||
+ | }); | ||
+ | |||
+ | |||
+ | |||
+ | |||
+ | |||
+ | }); | ||
+ | |||
+ | </script> | ||
</html> | </html> |
Revision as of 07:40, 25 September 2013