Ciao devo fare una gallery e volevo che al passaggio del mouse aumentasse la dimensione del div e alla sua uscita diminuisse, ma se passo velocemente da un div all' altro mi si sforma tutto e impazzisce.
codice:$(".thumb ").mouseover (function() { $(this).animate({marginLeft: -10,marginTop: -10,height: ($(this).height()+20),width: ($(this).width()+20)}, 300 , "easeOutBounce"); }) $(".thumb ").mouseout(function() { $(this).animate({marginLeft: 0,marginTop: 0,height: ($(this).height()-20),width: ($(this).width()-20)}, 0, "easeOutBounce"); })

Rispondi quotando