> On 11/9/06, Joel Birch <[EMAIL PROTECTED]> wrote:> To this:
>> var finished = function() { --running; this.style.height="auto"; };
>
> Perhaps it would be best to just allow the style sheet to define
> whether or not it is auto by setting the style to a blank string.
>
> var finished = function() { --running; this.style.height = ''; };
>
> --
> Brandon Aaron

Yes, that works too! I didn't know that was possible. And when I view  
the generated source with the webdeveloper toolbar, the height  
property has been deleted from the style attribute, which is better  
than adding height:'auto' to it.

Thanks Brandon.

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

Reply via email to