so here I am with the solution .. Check out this script example
CSS
.box{ width: 200px; height: 140px; background-color:#0066CC; position : absolute; left: 100px; top: 100px; }
Jquery:
$('.box').hover(function(){ $(this).animate({ 'width': '220px', 'height': '160px', 'left': '90px', 'top': '90px' },200); },function(){ $(this).animate({ 'width': '200px', 'height': '140px', 'left': '100px', 'top': '100px' },200); });
You can change the value as you wish.
dku.rajkumar
source share