Try combining fade and slide in a single .animate method. For example:

$('something').animate({height: 'hide', opacity: 'hide'}, 'slow')



--Karl

____________
Karl Swedberg
www.englishrules.com
www.learningjquery.com




On May 4, 2009, at 12:56 AM, chadwithuhc wrote:


hello all,

i am curious if there is a simple solution to this very common problem
im sure lots get.

i have a div with some children items in it and when i fade one of
them out the div jumps down to the appropriate height. i would like to
know is there a simple way to animate the div to shrink nicely instead
of just jumping to its new size?

thanks.

Reply via email to