Team:Heidelberg/Project
From 2014.igem.org
(Difference between revisions)
Line 424: | Line 424: | ||
}); | }); | ||
+ | $('.toolbox-icon span').hide(); | ||
+ | $('.descr-box h3, .descr-box > a') | ||
+ | .mouseenter(function(){ | ||
+ | var $element; | ||
+ | if($(this).sibling().length == 0) | ||
+ | // we're inside the warpping div, break out first | ||
+ | $element = $(this).parent(); | ||
+ | else | ||
+ | $element = $(this); | ||
- | }); | + | $element.find('span').stop().animate({opacity: 1}); |
+ | }) | ||
+ | .mouseleave(function() { | ||
+ | var $element; | ||
+ | if($(this).sibling().length == 0) | ||
+ | // we're inside the warpping div, break out first | ||
+ | $element = $(this).parent(); | ||
+ | else | ||
+ | $element = $(this); | ||
+ | |||
+ | $element.find('span').stop().animate({opacity: 0}); | ||
+ | }); | ||
</script> | </script> | ||
</html> | </html> |
Revision as of 08:55, 15 October 2014
Abstract
Click to read full abstract
Placeholder