Team:TU Munich/Templates/Layout

From 2010.igem.org

(Difference between revisions)
Line 9: Line 9:
$("img.barimage").animate({opacity: 0.25}, 0);
$("img.barimage").animate({opacity: 0.25}, 0);
-
$("img.barimage").mouseover(function(){
+
-
$(this).animate({opacity: 1}, 0);
+
$("div.bar").mouseover(function(){
 +
$(this).children(".barimage").animate({opacity: 1}, 0);
});
});
-
$("img.barimage").mouseout(function(){
+
$("div.bar").mouseout(function(){
-
$(this).animate({opacity: 0.25}, 0);
+
$(this).children(".barimage").animate({opacity: 0.25}, 0);
});
});

Revision as of 23:21, 21 October 2010