Re: [jQuery] Animation dimensions - problem and solution

2006-09-02 Thread John Resig
I've fixed this and checked it in to SVN - this'll be in the next point release (probably 1.0.2). Thanks! --John On 8/31/06, Alistair Potts [EMAIL PROTECTED] wrote: When jquery tries to get the height of a (display:none) element, it clones the element as (visiblity:hidden display:block),

[jQuery] Animation dimensions - problem and solution

2006-08-31 Thread Alistair Potts
When jquery tries to get the height of a (display:none) element, it clones the element as (visiblity:hidden display:block), appends it to the BODY, calculates the dimensions, and removes it. Which is all very clever. The problem comes that if you style your element using css selectors, then