Team:SCUT/HP

From 2014.igem.org

(Difference between revisions)
Line 90: Line 90:
$(document).ready(function(){
$(document).ready(function(){
$(".cover").mouseover(function(){
$(".cover").mouseover(function(){
-
$(this).stop().animate({"marginTop":"-220px"},"fast");
+
$(this).stop().animate({"marginTop":"0px"},"fast");
});
});
$(".cover").mouseout(function(){
$(".cover").mouseout(function(){
-
$(this).stop().animate({"marginTop":"-20px"},"fast");
+
$(this).stop().animate({"marginTop":"175px"},"fast");
});
});
});
});

Revision as of 17:19, 10 October 2014

Outline