jcombs_31 Posted September 24, 2007 Share Posted September 24, 2007 What method do you guys use to handle this problem? The method found at twinhelix doesn't seem to be working for me. Maybe it is because the standalone version of IE6 installed seems to have some real trouble handling any javascript. I'm looking for answers... Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/ Share on other sites More sharing options...
tomfmason Posted September 24, 2007 Share Posted September 24, 2007 I haven't used the stand alone version of IE6 but I do have the regular IE6 on an old xp box of mine. But to answer your question, I almost always use scriptaculous Effect.Opacity for the same effect. It is as simple as new Effect.Opacity(element_id, {from:0.5, to:0.5}) That would give it a 50% transparency and works perfectly with the version of IE6 that I have. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-354047 Share on other sites More sharing options...
Daniel0 Posted September 24, 2007 Share Posted September 24, 2007 I haven't used the stand alone version of IE6 but I do have the regular IE6 on an old xp box of mine. But to answer your question, I almost always use scriptaculous Effect.Opacity for the same effect. It is as simple as new Effect.Opacity(element_id, {from:0.5, to:0.5}) That would give it a 50% transparency and works perfectly with the version of IE6 that I have. While it may work good for giving an entire object transparency it cannot partially on an image (such as transparent background or a single thing in the image which is supposed to be transparent). Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-354050 Share on other sites More sharing options...
jcombs_31 Posted September 24, 2007 Author Share Posted September 24, 2007 I haven't used the stand alone version of IE6 but I do have the regular IE6 on an old xp box of mine. But to answer your question, I almost always use scriptaculous Effect.Opacity for the same effect. It is as simple as new Effect.Opacity(element_id, {from:0.5, to:0.5}) That would give it a 50% transparency and works perfectly with the version of IE6 that I have. While it may work good for giving an entire object transparency it cannot partially on an image (such as transparent background or a single thing in the image which is supposed to be transparent). Exactly, I'm just using a png with transparency already set in the image itself, which happens to be a background image. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-354064 Share on other sites More sharing options...
redbullmarky Posted September 24, 2007 Share Posted September 24, 2007 i use the iepngfix myself - works pretty well until it comes to background images. else i'll just use a GIF and jiggle about with the edging/background colour, etc until i can get something looking good enough. in all honesty though, apart from at work, i've stopped supporting IE6 altogether, but i can get away with it as my sites are generally fun/personal/hobby sites rather than corporate/client ones. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-354122 Share on other sites More sharing options...
TheFilmGod Posted September 25, 2007 Share Posted September 25, 2007 I had a problem with this too. Do gifs instead. They work a lot better. Only use them for those that need transparency, otherwise, use pngs! Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-354569 Share on other sites More sharing options...
Daniel0 Posted September 25, 2007 Share Posted September 25, 2007 Yeah, but GIF only supports 256 colors while PNG supports 268,435,456 colors and GIF doesn't support alpha transparency either. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-354665 Share on other sites More sharing options...
jcombs_31 Posted September 25, 2007 Author Share Posted September 25, 2007 Gifs wont work for where I need them. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-355069 Share on other sites More sharing options...
leonglass Posted September 25, 2007 Share Posted September 25, 2007 I read this post the other day and have since been looking for the article I am about to mention but seem to have misplaced my link so you will need to google for it. I remember reading an article regarding PNG8. Which, apparently, handles transparency more like gifs in browsers that don't support png transparancey - IE6 etc. I remember thinking it was a good article at the time but unfortunately can't find it now. It was a fireworks article however and a tut on how to export your pngs in this format. Google it and see what you come up with. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-355117 Share on other sites More sharing options...
Daniel0 Posted September 25, 2007 Share Posted September 25, 2007 8-bit PNG has the same limitations as GIF compared to "normal" PNG. If you wish to save your files in that format then Photoshop can do that. There are probably lots of other programs that can as well. Quote Link to comment https://forums.phpfreaks.com/topic/70479-ie6-png-transparency/#findComment-355132 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.