fadeIn and fadeOut and display / visibility

fadeIn and fadeOut and display / visibility


hello!
i don't know if it was already proposed but i didn't find anything
when searching this group. i also hope i'm right in here =)
i wanted to call your attention the the fadeIn and fadeOut function.
after fadeout reduced the opacity to 0, it sets display = none and
then exits. fadeIn first reverses this and then fades the object.
i use this effect when i load new content via ajax combined with an
animation to set the div height to the new value. the problem is, that
display=none removes the placeholder for the element, so the elements
at the bottom jump upward, then back down and then get moved.
i know the workaround with the callback function, setting display to
block and visibility to hidden, but i think it should also be no
problem to insert an argument for fadeIn/Out what it shall do at the
end, hide it with display or with visibility.
greetz
Jonny007