鼠标移入移出改变图片大小

//鼠标移入移出,改变图片大小
$(document).ready(function(){
    $('#large').mouseenter(function(){    
         var wValue=1.5 * $(this).width();    
         var hValue=1.5 * $(this).height();          
         $(this).stop().animate({ wValue,    
                         height: hValue,    
                         left:("-"+(0.5 * $(this).width())/2),    
                         top:("-"+(0.5 * $(this).height())/2)}, 1000);    
     }).mouseleave(function(){    
         $(this).stop().animate({ "100",    
                                      height: "80",    
                                      left:"0px",    
                                      top:"0px"}, 1000 );    
     });
 });
原文地址:https://www.cnblogs.com/javadongx/p/jquery_moseenter_mouseleave.html