Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 3: | Line 3: | ||
$(function(){ | $(function(){ | ||
$(".hp_img_link a").hover(function(){ | $(".hp_img_link a").hover(function(){ | ||
- | $(".hp_img").stop().animate({"width":"100px","height":"100px","margin-left":"-12px","margin-top":"-10px"},200,'swing').animate({"border-radius":"100px","-webkit-border-radius":"100px","-moz-border-radius":"100px"},100,' | + | $(".hp_img").stop().animate({"width":"100px","height":"100px","margin-left":"-12px","margin-top":"-10px"},200,'swing').animate({"border-radius":"100px","-webkit-border-radius":"100px","-moz-border-radius":"100px"},100,'swing'); |
}, | }, | ||
- | function(){$(".hp_img").stop().animate({"width":"80px","height":"80px","margin-left":"-2px","margin-top":"0px"},200,'swing').animate({"border-radius":"80px","-webkit-border-radius":"80px","-moz-border-radius":"80px"},100,' | + | function(){$(".hp_img").stop().animate({"width":"80px","height":"80px","margin-left":"-2px","margin-top":"0px"},200,'swing').animate({"border-radius":"80px","-webkit-border-radius":"80px","-moz-border-radius":"80px"},100,'swing'); |
}); | }); | ||
}); | }); | ||
</script> | </script> |
Revision as of 07:45, 23 September 2014