thanks Klaus!!

On 01/11/06, Klaus Hartl <[EMAIL PROTECTED]> wrote:
Sam Sherlock schrieb:
>     There must be some CSS you're not telling us about. Otherwise,
>     containers size themselves to their content.
>
>
> that turned out to be the slideDown effect.
>
> I called slideUp before loading the content.  Then calculating the new
> height and then call slidedown.
>
> I have tried:
>
>     * $('#content').css("height", newHeight).slowDown('slow');
>     * $('#content').slowDown('slow');
>
> neither work, taking out the slide effect is the only way to get this
> going? unless I have these height issues.

Sam,

try resetting the height to "auto" in the callback of the slide
functions. I'm doing that in the tabs plugin and it works fine...

$('#content').slideDown('slow', function() {
     this.style.height = 'auto';
});


-- Klaus

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to