Originariamente inviato da baobabdesign
e ma devo far ritornare il div alle misure originali!
Non capisco l'affermazione l'hai provata prima?
codice:
$(function(){
$(".thumb ").on({
mouseover:function()
{
$(this).stop().animate({marginLeft: -10,marginTop: -10,height: ($(this).height()+20),width: ($(this).width()+20)}, 300 , "easeOutBounce");
},
mouseout:function()
{
$(this).stop().animate({marginLeft: 0,marginTop: 0,height: ($(this).height()-20),width: ($(this).width()-20)}, 0, "easeOutBounce");
}
})
})
per usare on devi avere la versione jquery 1.7 o superiore