"2. When I try to apply animate-opacity to <img> (particularly, I'm
about a 32-bit PNG with transparency) Internet Explorer (any ver.)
makes its edges ugly."

This is not related to jQuery - unfortunately, it is the way IE7 works
(breaks) when applying Alpha filters to any 32 bit PNG.

For example: <img src="my_transparent_png.png" style="filter:
alpha(opacity=50);" />

Will have the same end result without the use of any Javascript
library.

For a full explanation read: 
http://blogs.msdn.com/ie/archive/2005/04/26/412263.aspx

Particularly the section titled: "There are also a couple of
limitations worth mentioning"

On Jun 19, 9:46 pm, "Y.N.T." <security.blanket
[EMAIL PROTECTED]> wrote:
> Hello!
>
> I discovered two problems in jQuery work with IE 7:
> 1. When I try to apply animate-opacity to <div> element no effect
> comes in IE 7 or 8 (but in 6 version it works!).
> 2. When I try to apply animate-opacity to <img> (particularly, I'm
> about a 32-bit PNG with transparency) Internet Explorer (any ver.)
> makes its edges ugly.
>
> My blueprint:
>
>     $('#-div-or-img').hover(function(){
>                 $(this).animate({'opacity' : 0.5}, 400);},
>                 function(){
>                 $(this).animate({'opacity': 1}, 400);
>     });
>
> There are no problems with Opera & FF.
>
> As a matter of fact, my question consists in how to get over these
> difficulties...
>
> P.S. Known jQuery's ifixpng.js doesn't help as well as IE's CSS-filter
> hacks.

Reply via email to