[jQuery] Re: disable click on animated objects

2008-09-25 Thread Mauricio (Maujor) Samy Silva
) jquery-en@googlegroups.com 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

[jQuery] Re: disable click on animated objects

2008-09-25 Thread ricardobeat
- De: ricardobeat [EMAIL PROTECTED] Para: jQuery (English) jquery-en@googlegroups.com 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

[jQuery] Re: disable click on animated objects

2008-09-25 Thread Mauricio (Maujor) Samy Silva
@googlegroups.com Enviada em: quinta-feira, 25 de setembro de 2008 22:12 Assunto: [jQuery] Re: disable click on animated objects You could try to wrap the whole function (inside click) in another IF statement: if (!$(this).is(':animated') ) { blabla; } thus code will only execute if the element