[jQuery] jQuery-UI / Hide thanks to slide / effects details

[jQuery] jQuery-UI / Hide thanks to slide / effects details

<font style="font-family: verdana,sans-serif;" size="2">i looked at the jQuery Docs (<a href="http://docs.jquery.com/UI/Effects/Slide"> http://docs.jquery.com/UI/Effects/Slide</a>) but nothing solve my question
</font><div style="margin-left: 40px; font-family: verdana,sans-serif;">
<font size="2">is it possible to hide the half, or x pixels of the div with the id XXXX
something like :
$('#XXXX').hide(  'slide', {direction: 'down', height: x} );
</font></div><font style="font-family: verdana,sans-serif;" size="2">
</font><pre style="font-family: verdana,sans-serif;"><font size="2">If there's anyone who can help me I would be extremely grateful.
</font></pre><font style="font-family: verdana,sans-serif;" size="2">
</font>