Basically I want to be able to wrap any command in a $.holdTillFinished() method that will not allow execution to continue until the specified method/jquery animation is finished executing.
I suspect that this may be difficult or even impossible in javascript, but I'm hoping someone will know.
I don't want to hear about how I can pass a callback into an animation to have it run oncomplete, or anything else like that.
I really want to know if such a thing is possible and how to go about it.
If that isn't going to happen if anyone knows of a nice queue plugin that is capable of queuing both user defined methods and animations, that would be cool too. What I really want is a way to delay execution though.(while still allowing animations to function)