Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
m |
m |
||
Line 45: | Line 45: | ||
function(){ | function(){ | ||
$(this).find("ul.submenu").hide(); | $(this).find("ul.submenu").hide(); | ||
+ | } | ||
+ | |||
+ | ); | ||
+ | } | ||
+ | ); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready( | ||
+ | function(){ | ||
+ | $("ul.mini li").hover( | ||
+ | function() { | ||
+ | // Hover over | ||
+ | $(this).parent().find("ul.maxi").hide(); | ||
+ | $(this).find("ul.maxi").show(); | ||
+ | // Hover out | ||
+ | $(this).hover( | ||
+ | function() { | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).find("ul.maxi").hide(); | ||
+ | } | ||
+ | ); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).find("ul.maxi").hide(); | ||
} | } | ||
Revision as of 14:18, 6 August 2012