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
Post a Comment