jquery - Fade out and slide up at the same time? -


i have following script works well:

$(that).parents(".portlet").fadeout('slow', function() {     $(that).parents(".portlet").remove(); }); 

it fades out element, removes totally screen.

i want improve effect sliding while fading out. how that?

just clarify, don't want fade out slide up, or slide fade out, fade out, , @ same time while fading out, slide up.

$(that)     .parents(".portlet")     .animate({height: 0, opacity: 0}, 'slow', function() {         $(this).remove();     }); 

Comments

Popular posts from this blog

linux - Using a Cron Job to check if my mod_wsgi / apache server is running and restart -

actionscript 3 - TweenLite does not work with object -

jQuery Ajax Render Fragments OR Whole Page -