jQuery: The Write Less, Do More JavaScript Library

Re: jquery.ifixpng.js IE 7 Transparency is Black instead of transparent

by Rick Faircloth :: Rate this Message:

Reply to Author | View in Thread


Hi, Guy...

Why wouldn't you use "if lt IE 7" instead of "lte" ?

Rick

> -----Original Message-----
> From: jquery-en@... [mailto:jquery-en@...] On Behalf Of Guy Fraser
> Sent: Wednesday, November 14, 2007 10:23 PM
> To: jquery-en@...
> Subject: [jQuery] Re: jquery.ifixpng.js IE 7 Transparency is Black instead of transparent
>
>
> cfdvlpr wrote:
> > I'm just trying this nice jquery plugin and it works great to solve
> > some of my IE 6 PNG image problems.  But, in IE 7, the images are
> > black.  Has anyone else seen this and found a fix for it?  Is this a
> > problem specifically with PNG 24 alpha transparency?
> >
>
> IE7 natively supports PNG images - so make sure the plugin detects IE7
> and doesn't run. We used a conditional comment around the script tag to
> prevent IE7 processing it...
>
> <!--[if lte IE 7.0000]>
>   <script ....>
> <![endif]-->
>
>



 « Return to Thread: jquery.ifixpng.js IE 7 Transparency is Black instead of transparent