One thing that I worry about when completely blowing away the filter
attribute is that it'll break any of those IE PNG hacks that exist
(this issue came up before). So if we were to do it we'd have to be
sure to only replace the alpha value.

--John



On Sat, Jan 17, 2009 at 8:20 AM, Balazs Endresz
<[email protected]> wrote:
>
> Hi, there is a test case here combined with a simple solution by Mike
> Alsup:
> http://jquery.malsup.com/fadetest.html
>
> On Jan 16, 11:26 pm, prefect <[email protected]> wrote:
>> Ah, yes. I came across a particularly nasty side effect with clipping
>> of content with the alpha filter (I'd assume several filters do the
>> same, but alpha is what I've tested).
>>
>> I'll be sure to make a simple test case demonstrating the problem
>> tomorrow (late in Norway now), which affects both IE 6 and 7.
>>
>> --
>> Frode
>>
>> On Jan 16, 8:46 pm, John Resig <[email protected]> wrote:
>>
>> > Hmm, an interesting point. Do you have any test cases where the
>> > negative effect of an alpha filter is readily available? (It would
>> > help up to diagnose any problems if we were to implement this.)
>>
>> > If you can think of one then feel free to file a 
>> > ticket!http://dev.jquery.com/newticket
>>
>> > --John
>>
>> > On Fri, Jan 16, 2009 at 12:45 PM, prefect <[email protected]> 
>> > wrote:
>>
>> > > jQuery supports automatically using Explorer's Alpha filter for
>> > > setting an elements opacity, ie. when doing css('opacity', '0.5').
>>
>> > > Explorer's filters have varying degrees of side effects, and to
>> > > minimize these I suggest automatically disabling the Alpha filter as
>> > > well when the opacity is set to 1.0, which equals no opacity anyway.
>>
>> > > One can do this manually with css('filter', "alpha(enabled='false')"),
>> > > but I think jQuery just as well could do this automatically since it
>> > > already implisitly activates the filter.
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/jquery-dev?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to