[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread Alexandre Plennevaux
activate the button in a callback function after the animate var isClickable = true; right.click(function() { if(ul.css('left') != (maxMove * -1) + 'px' && isClickable) { isClickable = false; ul.animate(

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread David Wu
ooops, I got another problem, in FF3, CSS property white-space will make image have 3px padding, but in IE, it's not, any good suggestion? On Tue, Nov 11, 2008 at 7:54 PM, Alexandre Plennevaux <[EMAIL PROTECTED]>wrote: > > my pleasure :) > > On Tue, Nov 11, 2008 at 12:53 PM, David Wu <[EMAIL PROT

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread David Wu
Fantastic, thanks a lot On Tue, Nov 11, 2008 at 7:32 PM, Alexandre Plennevaux <[EMAIL PROTECTED]>wrote: > > activate the button in a callback function after the animate > > var isClickable = true; > > right.click(function() > { > if(ul.css('left') != (maxM

[jQuery] Re: How to do anything after animate finished

2008-11-11 Thread Alexandre Plennevaux
my pleasure :) On Tue, Nov 11, 2008 at 12:53 PM, David Wu <[EMAIL PROTECTED]> wrote: > Fantastic, thanks a lot > > On Tue, Nov 11, 2008 at 7:32 PM, Alexandre Plennevaux <[EMAIL PROTECTED]> > wrote: >> >> activate the button in a callback function after the animate >> >> var isClickable = true