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(' | + | $(this).addClass('hidelogo'); |
},3000); | },3000); | ||
}); | }); | ||
$(function(){ | $(function(){ | ||
$(".toplogo img").hover(function(){ | $(".toplogo img").hover(function(){ | ||
- | var hide = $("div").hasClass(" | + | var hide = $("div").hasClass("hidelogo"); |
var active = $("div").hasClass("clicked"); | var active = $("div").hasClass("clicked"); | ||
if(hide){ | if(hide){ |
Revision as of 17:10, 20 September 2014