You can download the jQuery easing plugin from http://gsgd.co.uk/sandbox/jquery/easing , which provides smoother animations than the standard ones included in jQuery. You can then easily customize your global attenuation animation using the following code:
jQuery.easing.def = "easeInOutExpo";
You can, of course, choose whichever facilitating animation you prefer. This will affect all your jQuery animations on the page, which is not so bad if you are looking for consistency.
Maloric
source share