[jQuery] Re: Wait plugin

2007-10-31 Thread jcoglan
Hi all, thanks for checking my code out, nice to see some response. I think that something like this is a good candidate for the core. There's so many requests and things for how can I pause my code, etc. I can't see this being all that large in size. Matter of fact, it is not all that

[jQuery] Re: Wait plugin

2007-10-31 Thread jcoglan
(Google seems to have lost my first post, sorry if this comes up twice...) I think that something like this is a good candidate for the core. There's so many requests and things for how can I pause my code, etc. I can't see this being all that large in size. It's not that small, for reasons

[jQuery] Re: Wait plugin

2007-10-31 Thread GianCarlo Mingati
(this is not jQuery, it's based on my new lib): $('li').on('click').setStyle({color: '#ccc'}).and.wait(1).then._('h1').setContent('Hello!') That's cool. Could u tell us more about Your New lib?! GC

[jQuery] Re: Wait plugin

2007-10-31 Thread jcoglan
Okay, so Google just didn't update my copy of the thread for a few hours - that'll teach me to bother rewriting posts... That's cool. Could u tell us more about Your New lib?! Unfortunately not at this point. I've been writing it for about a week so it's early days. Basically it's a wrapper

[jQuery] Re: Wait plugin

2007-10-30 Thread polyrhythmic
I guess it's not well known that there's a plugin in the wild, Pause, which does the same thing. The original is at http://blog.mythin.net/projects/jquery.php -- you can find that link at the docs.jquery.com/Plugins wiki. However, the queue method changed around the 1.2 (I think) release, so

[jQuery] Re: Wait plugin

2007-10-30 Thread Karl Swedberg
On Oct 30, 2007, at 5:57 PM, polyrhythmic wrote: There is also another suggested method at http://www.learningjquery.com/2007/01/ effect-delay-trick which (ab)uses the animate method as a timer. Ha! (ab)uses just about sums it up. Thanks for giving me a little chuckle. :-) --Karl

[jQuery] Re: Wait plugin

2007-10-30 Thread Guy Fraser
polyrhythmic wrote: It is a very useful tool but I don't think it's ready for the jQuery core yet, as you can see there are very complicated and very simple ways to wait/pause the jQuery execution chain -- we'd have to standardize a method first. I think this makes a good first impression