Template:Team:KIT-Kyoto/hidelogo

From 2014.igem.org

(Difference between revisions)
Line 10: Line 10:
$(".toplogo").hover(
$(".toplogo").hover(
function(){
function(){
-
if($("div").is('.hidelogo')){$(".toplogo img").stop().animate({'margin-top':'0px','margin-bottom':'0px'},800,'linear');
+
$(".toplogo img").stop().animate({'margin-top':'0px','margin-bottom':'0px'},800,'linear');
-
}},
+
},
function(){
function(){
-
if($("div").is('.hidelogo')){$(this).stop().animate({'margin-top':'-40px','margin-bottom':'-65px'},800,linear);
+
$(this).stop().animate({'margin-top':'-40px','margin-bottom':'-65px'},800,linear);
-
}}
+
}
);
);
});
});
</script>
</script>

Revision as of 17:43, 20 September 2014