Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar Mark Forums Read
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 06-16-2009, 07:36 PM   #1
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
IE6 .png transparency?

anyone know the absolute best way to deal with IE6 and it's lack of support for transparency? I know of a couple methods but they impact load times.

And one more thing, how can I deliver it to ONLY IE6 users? I've tried using
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->

but that doesn't hit for just IE6 for whatever reason IE7/8 pic it up too :/
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:24 PM   #2
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
really? nobody? wow...
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:26 PM   #3
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
Gif...........
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:26 PM   #4
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
you use iepngfix?

http://www.twinhelix.com/css/iepngfix/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:31 PM   #5
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by sortie View Post
Gif...........
lmao... yeah ok... obviously you don't know the difference between gifs and .pngs when it comes to transparency

Quote:
Originally Posted by fris View Post
yeah was looking for other solutions
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:32 PM   #6
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
check out these links also good reads

http://www.ajaxonomy.com/2008/web-de...ore-with-ie7js

http://www.sohtanaka.com/web-design/...arency-in-ie6/
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:33 PM   #7
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
Quote:
Originally Posted by JD View Post
lmao... yeah ok... obviously you don't know the difference between gifs and .pngs when it comes to transparency



yeah was looking for other solutions
But I'm not the one here fucked up over though am I?
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:35 PM   #8
sortie
Confirmed User
 
sortie's Avatar
 
Industry Role:
Join Date: Mar 2007
Posts: 7,771
If you knew what the fuck programming was you'd use imagemagick based on the browser.
__________________
sortie is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 08:47 PM   #9
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
i'm not "fucked up" over anything sortie. I have several solutions but just looking for MORE options.

imagemagick based on the browser? LOL...

thanks for the links fris
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 09:11 PM   #10
Serge Litehead
Confirmed User
 
Serge Litehead's Avatar
 
Industry Role:
Join Date: Dec 2002
Location: Behind the scenes
Posts: 5,190
<!--[if lt IE 7]>
...
<![endif]-->
__________________
Serge Litehead is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 09:24 PM   #11
TheHatchet
Half man... Half Amazing!
 
Industry Role:
Join Date: Sep 2002
Posts: 13,958
ive used pngFix many times without any issues. Whats the problem?
TheHatchet is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 09:33 PM   #12
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by BarryTheHatchet View Post
ive used pngFix many times without any issues. Whats the problem?
iepngfix (last time i used it) made the page load pretty slow. Of course I was using a bunch of pngs in the design...

just trying to see what else is out there ;)
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 09:54 PM   #13
tranza
ICQ: 197-556-237
 
Join Date: Jun 2003
Location: BRASIL !!!
Posts: 57,559
I really hate IE
__________________
I'm just a newbie.
tranza is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 10:02 PM   #14
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by tranza View Post
I really hate IE
i couldn't agree more :/ more specifically, IE6
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 10:13 PM   #15
harvey
Confirmed User
 
harvey's Avatar
 
Industry Role:
Join Date: Jul 2001
Location: 127.0.0.1
Posts: 9,266
for those that don't know, pngfix works really bad with IE6. The one below is the best solution by a long mile (probably the only one that really works). And yes, that's the conditional code to spot IE6 and older and not affect IE7 and newer

Code:
<!--[if lt IE 7]>
<script language="JavaScript">
function correctPNG() // correctly handle PNG transparency in Win IE 5.5 & 6.
{
   var arVersion = navigator.appVersion.split("MSIE")
   var version = parseFloat(arVersion[1])
   if ((version >= 5.5) && (document.body.filters)) 
   {
      for(var i=0; i<document.images.length; i++)
      {
         var img = document.images[i]
         var imgName = img.src.toUpperCase()
         if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
         {
            var imgID = (img.id) ? "id='" + img.id + "' " : ""
            var imgClass = (img.className) ? "class='" + img.className + "' " : ""
            var imgTitle = (img.title) ? "title='" + img.title + "' " : "title='" + img.alt + "' "
            var imgStyle = "display:inline-block;" + img.style.cssText 
            if (img.align == "left") imgStyle = "float:left;" + imgStyle
            if (img.align == "right") imgStyle = "float:right;" + imgStyle
            if (img.parentElement.href) imgStyle = "cursor:hand;" + imgStyle
            var strNewHTML = "<span " + imgID + imgClass + imgTitle
            + " style=\"" + "width:" + img.width + "px; height:" + img.height + "px;" + imgStyle + ";"
            + "filter:progid:DXImageTransform.Microsoft.AlphaImageLoader"
            + "(src=\'" + img.src + "\', sizingMethod='scale');\"></span>" 
            img.outerHTML = strNewHTML
            i = i-1
         }
      }
   }    
}
window.attachEvent("onload", correctPNG);
</script>
<![endif]-->
__________________
This post is endorsed by CIA, KGB, MI6, the Mafia, Illuminati, Kim Jong Il, Worldwide Ninjas Association, Klingon Empire and lolcats. Don't mess around with it, just accept it and embrace the truth
harvey is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-16-2009, 10:20 PM   #16
wdforty
Confirmed User
 
Industry Role:
Join Date: Aug 2004
Posts: 1,824
you should be using
<!--[if lt IE 7]><![endif]--> (if less than version 7....)

As for png fix there are tons out there just search. None are perfect and all affect loading time so just find one you're happy with.
__________________
icq 157542142
wdforty is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 02:18 AM   #17
leming
★ CONFIRMED DESIGNER ★
 
leming's Avatar
 
Industry Role:
Join Date: Apr 2003
Posts: 1,818
Just make png transparency without any gradients. It should work without any dances
__________________
DESIGN ★ BANNERS ★ LOGOS ★ 3D ★ VIDEO-EDITING
Portfolio | Telegram | E-mail | Skype:leming_
leming is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 02:18 AM   #18
fris
Too lazy to set a custom title
 
fris's Avatar
 
Industry Role:
Join Date: Aug 2002
Posts: 55,372
Quote:
Originally Posted by wdforty View Post
you should be using
<!--[if lt IE 7]><![endif]--> (if less than version 7....)

As for png fix there are tons out there just search. None are perfect and all affect loading time so just find one you're happy with.
hit me up when you have a second
__________________
Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


WP Stuff
fris is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 03:07 AM   #19
redwhiteandblue
Bollocks
 
redwhiteandblue's Avatar
 
Industry Role:
Join Date: Jun 2007
Location: Bollocks
Posts: 2,793
Quote:
Originally Posted by JD View Post
And one more thing, how can I deliver it to ONLY IE6 users? I've tried using
<!--[if IE 6]>
Special instructions for IE 6 here
<![endif]-->

but that doesn't hit for just IE6 for whatever reason IE7/8 pic it up too :/
Have you got MultipleIE installed? Because apparently if you've got multiple versions of IE on one machine then the conditional comments behave as though you're running the highest version.
redwhiteandblue is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 06:36 AM   #20
candyflip
Carpe Visio
 
candyflip's Avatar
 
Industry Role:
Join Date: Jul 2002
Location: New York
Posts: 43,064
Doesn't take long for Sortie to douche up a thread these days does it?
__________________

Spend you some brain.
Email Me
candyflip is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 06:48 AM   #21
potter
Confirmed User
 
Industry Role:
Join Date: Dec 2004
Location: Denver
Posts: 6,559
<!--[if IE 6]>

should work just for ie 6, something on your end must be wrong.

also, i typically use unit png fix for a png ie6 fix (when im not just popping up a modal saying you suck for ie6 users)
__________________

potter is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 07:11 AM   #22
jawanda
Confirmed User
 
Join Date: Feb 2003
Posts: 6,040
I use a little javascript called SuperSleight and it works great.

<!--[if lte IE 6]>
<script type="text/javascript" src="supersleight-min.js"></script>
<![endif]-->
<script language="javascript">
function divclose()
{
supersleight.init()
}
</script>

Get the script here: http://24ways.org/code/supersleight-...persleight.zip

Only effects IE6. Works perfect for me.

-P
jawanda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 07:12 AM   #23
jawanda
Confirmed User
 
Join Date: Feb 2003
Posts: 6,040
Also checkout this page for a good discussion of the different techniques, including Supersleight.

http://24ways.org/2007/supersleight-...ent-png-in-ie6
jawanda is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 06-17-2009, 01:10 PM   #24
JD
Too lazy to set a custom title
 
Industry Role:
Join Date: Sep 2003
Posts: 22,651
Quote:
Originally Posted by redwhiteandblue View Post
Have you got MultipleIE installed? Because apparently if you've got multiple versions of IE on one machine then the conditional comments behave as though you're running the highest version.
I do have it installed actually...
JD is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks
Thread Tools



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.