Ganeshji, Maybe it's on plan to make it happen for 1.2, but It isn't in trunk just yet. Hope to see your plugin soon.
On 8/18/07, Ganeshji Marwaha <[EMAIL PROTECTED]> wrote: > > yehuda, i dont see it in the trunk... am i missing something... > > -GTG > > > On 8/18/07, Yehuda Katz <[EMAIL PROTECTED]> wrote: > > > > stop() is going to be in jQuery 1.2, and I believe it is already in > > trunk. > > > > -- Yehuda > > > > On 8/18/07, Joan Piedra < [EMAIL PROTECTED] > wrote: > > > > > > Omg,is this in the jquery-core?! O_o > > > If it is then I won't need to use interface iutil and ifx anymore, > > > yay! > > > > > > > > > On 8/17/07, Cybolic < [EMAIL > > > PROTECTED]<https://mail.google.com/mail?view=cm&tf=0&[EMAIL PROTECTED]>> > > > wrote: > > > > > > > > > > > > You can start and stop an animation like so: > > > > > > > > // start > > > > $('#animationElement').animate({width: 50}, slow); > > > > > > > > // stop > > > > $.dequeue($('#animationElement').get(0), "fx"); > > > > > > > > > > > > You can of course define a helper for it like so: > > > > > > > > $.fn.stop = function(){ > > > > this.each(function(){ > > > > $.dequeue(this, "fx"); > > > > }); > > > > return this; > > > > }; > > > > > > > > - now you can just do: $('#animationElement').stop(); > > > > > > > > > > > > This should really be added to the documentation, or given a > > > > shortcut. > > > > If anyone would do this, or tell me how to do it, that'd be great. > > > > > > > > Cheers, > > > > Christian Dannie > > > > > > > > On Aug 4, 6:40 am, "Ganeshji Marwaha" < [EMAIL > > > > PROTECTED]<https://mail.google.com/mail?view=cm&tf=0&[EMAIL PROTECTED]>> > > > > wrote: > > > > > hi friends, > > > > > > > > > > is there a way to stop an animation after it has started? any hack > > > > that will > > > > > make this happen will be useful... > > > > > > > > > > thanks in advance, > > > > > -GTG > > > > > > > > > > > > > > > > > -- > > > Joan Piedra || Frontend webdeveloper > > > http://joanpiedra.com/ > > > > > > > > > > > -- > > Yehuda Katz > > Web Developer | Procore Technologies > > (ph) 718.877.1325 > > > -- Joan Piedra || Frontend webdeveloper http://joanpiedra.com/