Template:Team:KIT-Kyoto/hidelogo
From 2014.igem.org
(Difference between revisions)
Line 4: | Line 4: | ||
setTimeout(function(){ | setTimeout(function(){ | ||
$(".toplogo img").animate({'margin-top':'-40px','margin-bottom':'-65px'},1000,'linear'); | $(".toplogo img").animate({'margin-top':'-40px','margin-bottom':'-65px'},1000,'linear'); | ||
+ | $(this).addClass('hidelogo'); | ||
},3000); | },3000); | ||
var hide = $("div").hasClass('hidelogo'); | var hide = $("div").hasClass('hidelogo'); | ||
Line 14: | Line 15: | ||
} | } | ||
); | ); | ||
- | + | }); | |
</script> | </script> |
Revision as of 17:17, 20 September 2014