Anyone have a solution for this yet? IE7 PNG-24 using FadeTo shows a black background where the transparency should be. Is there any way to change the overall opacity of a PNG through JavaScript?
Glen On 1/30/07, spl1nter <[EMAIL PROTECTED]> wrote:
Unfortunately it doesn't :( Brandon Aaron wrote: > > I wonder if setting the background color to transparent will work? > background-color: transparent; > > -- > Brandon Aaron > > On 1/30/07, spl1nter <[EMAIL PROTECTED]> wrote: >> >> This appears to be the case but unfortunately 8 bit PNGs don't have >> alpha-transparency. I've found one way to prevent it and that's by >> setting a >> background colour. Unfortunately I can't do that with my design :( >> >> >> Jonathan Sharp wrote: >> > >> > I think it has to do with whether it's saved as an 8 bit or 24 bit PNG. >> > >> > -js >> > >> > >> > On 1/29/07, Brandon Aaron <[EMAIL PROTECTED]> wrote: >> >> >> >> I haven't found the secret yet. Some of my pngs do it and others >> don't. >> >> >> >> -- >> >> Brandon Aaron >> >> >> >> On 1/29/07, spl1nter <[EMAIL PROTECTED]> wrote: >> >> > >> >> > Ah, well that's a tad annoying. Is there anyway to prevent this? Any >> >> settings >> >> > I can use in Photoshop or such? >> >> > >> >> > >> >> > Brandon Aaron wrote: >> >> > > >> >> > > This is a known bug in IE7. Sometimes you can get PNGs in IE7 to >> get >> >> > > that black background when you zoom in or out. They support them, >> >> just >> >> > > not very well. >> >> > > >> >> > > -- >> >> > > Brandon Aaron >> >> > > >> >> > > On 1/29/07, spl1nter <[EMAIL PROTECTED]> wrote: >> >> > >> >> >> > >> I've only tested this with IE7 (don't have IE6 available - I'd >> >> imagine >> >> > >> it'd >> >> > >> be worse what with it's lack of native alpha-transparency >> support) >> >> but >> >> > >> it's >> >> > >> pretty strange. >> >> > >> >> >> > >> http://www.devioustree.co.uk/ >> >> > >> >> >> > >> At the link above I'm using fadeIn() and fadeOut(). It works fine >> >> apart >> >> > >> from >> >> > >> when I've got a PNG background that uses alpha-transparency. For >> >> some >> >> > >> reason >> >> > >> IE7 shows a black (maybe dark-blue) background behind the PNG >> during >> >> the >> >> > >> transition and reverts back to normal afterwards. >> >> > >> >> >> > >> I'm assuming this has something to do with IE7s PNG rendering but >> I >> >> > >> thought >> >> > >> they supported alpha-transparency fully now? >> >> > >> -- >> >> > >> View this message in context: >> >> > >> >> >> >> http://www.nabble.com/Strangeness-with-fade%28%29%2C-alpha-opacity-PNGs-and-IE-tf3136699.html#a8692085 >> >> > >> Sent from the JQuery mailing list archive at Nabble.com. >> >> > >> >> >> > >> >> >> > >> _______________________________________________ >> >> > >> jQuery mailing list >> >> > >> [EMAIL PROTECTED] >> >> > >> http://jquery.com/discuss/ >> >> > >> >> >> > > >> >> > > _______________________________________________ >> >> > > jQuery mailing list >> >> > > [EMAIL PROTECTED] >> >> > > http://jquery.com/discuss/ >> >> > > >> >> > > >> >> > >> >> > -- >> >> > View this message in context: >> >> >> http://www.nabble.com/Strangeness-with-fade%28%29%2C-alpha-opacity-PNGs-and-IE-tf3136699.html#a8693629 >> >> > Sent from the JQuery mailing list archive at Nabble.com. >> >> > >> >> > >> >> > _______________________________________________ >> >> > jQuery mailing list >> >> > [EMAIL PROTECTED] >> >> > http://jquery.com/discuss/ >> >> > >> >> >> >> _______________________________________________ >> >> jQuery mailing list >> >> [EMAIL PROTECTED] >> >> http://jquery.com/discuss/ >> >> >> > >> > _______________________________________________ >> > jQuery mailing list >> > [EMAIL PROTECTED] >> > http://jquery.com/discuss/ >> > >> > >> >> -- >> View this message in context: >> http://www.nabble.com/Strangeness-with-fade%28%29%2C-alpha-opacity-PNGs-and-IE-tf3136699.html#a8712458 >> Sent from the JQuery mailing list archive at Nabble.com. >> >> >> _______________________________________________ >> jQuery mailing list >> [EMAIL PROTECTED] >> http://jquery.com/discuss/ >> > > _______________________________________________ > jQuery mailing list > [EMAIL PROTECTED] > http://jquery.com/discuss/ > > -- View this message in context: http://www.nabble.com/Strangeness-with-fade%28%29%2C-alpha-opacity-PNGs-and-IE-tf3136699.html#a8716595 Sent from the JQuery mailing list archive at Nabble.com. _______________________________________________ jQuery mailing list [EMAIL PROTECTED] http://jquery.com/discuss/