I think I found a way around it. If I use jQuery to put an internal CSS rule
into the <style> tags at the head of the document, I can make the CSS
selectors, properties & values dynamic and I don't have to use min-height -
which was stuffing up the animation for whatever reason.
e.g. something like this:
if ($('#test1').height() < 375)
$("style").html("#test1{height:375px;}");
Klaus Hartl wrote:
>
> Joel Birch schrieb:
>> You are right there. I'll put my thinking cap on - but I have to go
>> out now so I'm afraid I won't be able to reply soon. Maybe Klaus can
>> think of a workaround off the top of his head. Obviously the min-
>> height is not allowing the smaller heights needed during the animation.
>>
>> Will check in later to see how you went.
>> Joel.
>
> I think this is a bug unfortunately. During an animation, the min-height
> must be removed. I'll move this to the Dev list...
>
>
> -- Klaus
>
>
> _______________________________________________
> jQuery mailing list
> [email protected]
> http://jquery.com/discuss/
>
>
--
View this message in context:
http://www.nabble.com/Losing-height-value-tf3277136.html#a9128374
Sent from the JQuery mailing list archive at Nabble.com.
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/