As mentioned above, CSS3 transitions are really good at this. Modern browsers handle them easily and there are various libraries out there to handle oldie browsers like IE 7 and 8 if its important to you.
Quick and dirty example:http://jsfiddle.net/mschwar99/Zrcdz/
Click the "Animate"...