Template:Team:KIT-Kyoto/hp

From 2014.igem.org

(Difference between revisions)
(Created page with "<html> <script type="text/javascript"> $(function(){ $(".hp_img_link a").hover(function(){ $(".hp_img").stop().animate({"width":20+"px","height":20+"px","border-radius":20+"px","...")
Line 3: Line 3:
$(function(){
$(function(){
$(".hp_img_link a").hover(function(){
$(".hp_img_link a").hover(function(){
-
$(".hp_img").stop().animate({"width":20+"px","height":20+"px","border-radius":20+"px","-webkit-border-radius":20+"px","-moz-border-radius":20+"px","margin-left":-10+"px","margin-top":-10+"px"},200,'swing');
+
$(".hp_img").stop().animate({"width":"100px","height":"100px","border-radius":"100px","-webkit-border-radius":"100px","-moz-border-radius":"100px","margin-left":"-52px","margin-top":"-50px"},200,'swing');
},
},
-
function(){$(".hp_img").stop().animate({"width":0+"px","height":0+"px","border-radius":0+"px","-webkit-border-radius":0+"px","-moz-border-radius":0+"px","margin-left":0+"px","margin-top":0+"px"},200,'swing');
+
function(){$(".hp_img").stop().animate({"width":"80px","height":"80px","border-radius":"80px","-webkit-border-radius":"80px","-moz-border-radius":"80px","margin-left":"-2px","margin-top":"0px"},200,'swing');
});
});
});
});
</script>
</script>

Revision as of 07:37, 23 September 2014