>>> Good news! Any chance that the slide bug I mentioned two times will be
>>> fixed until then? This is the only thing that holds me back from
>>> switching to 1.0. You can see it here:
>>>
>>> http://stilbuero.de/jquery/tabs/ (see the slide example - the height is
>>> somehow miscalculated...)
>>>
>>> Or maybe I'm simply doing something wrong?
>> Using the latest jquery-svn.js and making two changes to your code:
>>
>> Removing stuff like: .css({display: '', height: 'auto'});
>> and: .css('display', 'none')
>>
>> Makes it works perfectly. It doesn't completely explain why its
>> happening - but at least it works now.
>>
> 
> 
> Hi John, I made a new build an hour ago (226) and removed all that code 
> you mentioned, but the bug still occurs (in Firefox at least)... :-(
> 
> 
> Any ideas?


If I change line 943:

jQuery.swap( e, { visibility: "hidden", position: "absolute", display: 
"block" },

to this:

jQuery.swap( e, { display: "block" },

everything works out fine. The height is calculated wrong with the other 
styles applied (this my also be a bug in Firefox). I assume you are 
cloning the element if it is not displayed to retrieve width and height 
here, but I can't really tell and don't know what side effects this 
change might have...

But if so I think its sufficient to not append the clone to the DOM.


-- Klaus


_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/

Reply via email to