Template:Team:KIT-Kyoto/hidelogo
From 2014.igem.org
(Difference between revisions)
Line 7: | Line 7: | ||
},3000); | },3000); | ||
}); | }); | ||
- | + | $(function(){ | |
+ | if($("div").is('hidelogo')){ | ||
+ | $(".toplogo img").hover( | ||
+ | function(){ | ||
+ | $(".toplogo img").stop().animate({'margin-top':'0px','margin-bottom':'0px'},1000,'linear'); | ||
+ | }, | ||
+ | function(){ | ||
+ | $(this).stop().animate({'margin-top':'-40px','margin-bottom':'-65px'}); | ||
+ | } | ||
+ | ); | ||
+ | } | ||
+ | }); | ||
</script> | </script> |
Revision as of 17:31, 20 September 2014