How can I add aceleration to this jQuery animation?
I was able to animate my <div> ( more info ) from bottom:-100px to bottom:0px . Now I'd like to have different speeds: Start a bit slower at the beginning of the animation and then get faster by the end of the animation. This is how it looks: $('#bannerFijo').animate({ bottom: '-15px' }, 1000, function() { $('#bannerFijo').animate({ bottom: '0px' }, 100); }); But I'm sure there must be another way so that the speed changes progressively. -edit- Animated version two: $('#bannerFijo').animate({ bottom: '0px' }, 1200, function() { $('#bannerFijo').animate({ bottom: '-15px' }, 300,function() { $('