I have two animations that I would like to group as one animation so that the easing will carry over and continue into the next animation. The second animation needs to start after the first one has finished. This is what I have so far, but the easing starts over when the second animation begins (which is what I would have expected).
$progressBar.animate({width: progressBarWidth + '%'}, barAnimationSpeed, 'swing', function(){
$overGoalBar.animate({width: overGoalBarWidth + '%'}, barAnimationSpeed, 'swing', function(){});
});
Here's an example of how it works right now.
How can I group these animations into one easing animation?