Team:Grenoble/script
From 2012.igem.org
(Difference between revisions)
m |
|||
Line 71: | Line 71: | ||
function(){ | function(){ | ||
$(this).find("ul.maxi").hide(); | $(this).find("ul.maxi").hide(); | ||
+ | } | ||
+ | |||
+ | ); | ||
+ | } | ||
+ | ); | ||
+ | </script> | ||
+ | |||
+ | <script type="text/javascript"> | ||
+ | $(document).ready( | ||
+ | function(){ | ||
+ | $("demo").hover( | ||
+ | function() { | ||
+ | // Hover over | ||
+ | $(this).parent().find("to_hide").hide(); | ||
+ | $(this).find("to_hide").show(); | ||
+ | // Hover out | ||
+ | $(this).hover( | ||
+ | function() { | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).find("to_hide").hide(); | ||
+ | } | ||
+ | ); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).find("to_hide").hide(); | ||
} | } | ||
Revision as of 14:22, 5 September 2012