Template:Team:KIT-Kyoto/hp
From 2014.igem.org
(Difference between revisions)
Line 2: | Line 2: | ||
<script type="text/javascript"> | <script type="text/javascript"> | ||
$(function(){ | $(function(){ | ||
- | |||
var hpnum = $(".hp_img_link a").index(this); | var hpnum = $(".hp_img_link a").index(this); | ||
+ | $(".hp_img_link a").hover(function(){ | ||
$(".hp_img").eq(hpnum).stop().animate({"width":"100px","height":"100px","margin-left":"-22px","margin-top":"-30px"},100,'linear').css({"border-radius":"100px","-webkit-border-radius":"100px","-moz-border-radius":"100px"}); | $(".hp_img").eq(hpnum).stop().animate({"width":"100px","height":"100px","margin-left":"-22px","margin-top":"-30px"},100,'linear').css({"border-radius":"100px","-webkit-border-radius":"100px","-moz-border-radius":"100px"}); | ||
}, | }, |
Revision as of 06:42, 25 September 2014