Hi Ricardo,
Grato pela resposta.
Você é bem ativo na lista heim!
Sorry didn't work. :-(
The method stop(), stops an animation.
I need disable the click event while the animation is running.
Abraço
Mauricio
-----Mensagem Original-----
De: "ricardobeat" <[EMAIL PROTECTED]>
Para: "jQuery (English)" <[email protected]>
Enviada em: quinta-feira, 25 de setembro de 2008 17:21
Assunto: [jQuery] Re: disable click on animated objects
e aí cara, já vi teu site por aí :)
change the line that reads
$(this).attr({width: 100, height: 75});
to
$(this).stop().attr({width: 100, height: 75});
When you click on a thumbnail, it resizes the image and starts the
animation, but the 'click' event is still bound to it. It does
everything it has to do (including resizing the image) but you need to
tell jQuery to stop the current slideDown animation.
abraço
- ricardo
On Sep 25, 12:18 pm, Maujor <[EMAIL PROTECTED]> wrote:
I am experiencing an undesirable behavior when click on an object
while it is sliding down.
I hosted a test case and you can see the problem
at:http://www.maujor.com/temp/jquery/
Thanks for any help