Template:Team:KIT-Kyoto/hidelogo
From 2014.igem.org
(Difference between revisions)
Line 8: | Line 8: | ||
var hide = $("div").hasClass('hidelogo'); | var hide = $("div").hasClass('hidelogo'); | ||
if(hide){ | if(hide){ | ||
- | $(".toplogo img").hover(function(){ | + | $(".toplogo img").hover( |
+ | function(){ | ||
$(".toplogo img").stop().animate({'margin-top':'0px','margin-bottom':'0px'},1000,'linear'); | $(".toplogo img").stop().animate({'margin-top':'0px','margin-bottom':'0px'},1000,'linear'); | ||
} | } | ||
Line 15: | Line 16: | ||
} | } | ||
); | ); | ||
+ | } | ||
}); | }); | ||
</script> | </script> |
Revision as of 17:17, 20 September 2014