arbitrary timed effects
arbitrary timed effects
Hi Folks,
I have some elements that I wish to animate until an external event occurs, as far as I can tell the UI effects all run for a set time. I can set a callback that restarts the effect I suppose like this:
$(thing).effect(effectname,options,effectTime,restarteffect);
function restarteffect() {
$(this).effect(effectname,options,effectTime,restarteffect);
}
But how would I later remove the callback so as to terminate the effect when it finishes a cycle?
Cheers,
Robin.