Team:TU Munich/Templates/Layout
From 2010.igem.org
(Difference between revisions)
Hartlmueller (Talk | contribs) |
Hartlmueller (Talk | contribs) |
||
Line 9: | Line 9: | ||
$("img.barimage").animate({opacity: 0.25}, 0); | $("img.barimage").animate({opacity: 0.25}, 0); | ||
- | $(" | + | |
- | $(this).animate({opacity: 1}, 0); | + | $("div.bar").mouseover(function(){ |
+ | $(this).children(".barimage").animate({opacity: 1}, 0); | ||
}); | }); | ||
- | $(" | + | $("div.bar").mouseout(function(){ |
- | $(this).animate({opacity: 0.25}, 0); | + | $(this).children(".barimage").animate({opacity: 0.25}, 0); |
}); | }); | ||