Brandon Aaron wrote:
> On 12/9/06, Brice Burgess <[EMAIL PROTECTED]> wrote:
>   
>> Glen Lipka wrote:
>>     
>>> I didn't analyze the whole thing, but just a quick question:
>>> Have you considered using the fadeTo() function?   it works better
>>> than messing with the opacity in the CSS.
>>>
>>> Glen
>>>
>>>       
>> In jQ 1.0.3 + you can also use $('#el').css('opacity',0.5);  which is
>> similar to $('#el').fadeTo(1,0.5); except that it doesn't give the
>> element layout to make it compatible with $.anim() routines. The css
>> opacity method doesn't allow you to fade over time, however -- though it
>> is "cleaner" IMO.
>>     
>
> Anytime you set the opacity of an element in IE, the element is given layout.
>
> --
> Brandon Aaron
True.. but I'm not refering to the "has layout" IE attribute -- more so 
to the "box layout" it seems to apply. E.g. try using $.fadeTo() / 
$.hide()+$.show() or any of the other functions which call the $.anim() 
functions on an inline element. It won't be inline for long? :)

~ Brice

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

Reply via email to