I want to call a callback after a delay but at the moment I have to write something like this to repeat the last animate with 1ms time.
elem.animate({top:100},1000).delay(1000).animate({top:100},1,mycallback)
What I what is something like:
elem.animate({top:100},1000).delay(1000).mycallback()
There must be a command for that but I can't find it.