Template:Team:KIT-Kyoto/hidelogo

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
$(".toplogo").hover(
$(".toplogo").hover(
function(){
function(){
-
$(".toplogo img").animate({'margin-top':'14px','margin-bottom':'0px'},800,'linear');
+
$(".toplogo img").animate({'margin-top':'14px','margin-bottom':'0px'},400,'swing');
},
},
function(){
function(){
-
$(".toplogo img").animate({'margin-top':'-40px','margin-bottom':'-65px'},800,'linear');
+
$(".toplogo img").animate({'margin-top':'-40px','margin-bottom':'-65px'},300,'swing');
}
}
);
);

Revision as of 17:51, 20 September 2014