PNG fix for transparency in older browsers.

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Voodoo
    ♥ ♦ ♣ ♠
    • Sep 2002
    • 10600

    #1

    PNG fix for transparency in older browsers.

    Anyone have a good one? I have a couple javascripts that fix the alpha issues in older IEs when using PNGs, but they tend to cause problems with other javascripts on the page.

    What do you use?

    "I'm selflessly supporting the common good, but only coincidentally looking out for No.1."
  • BV
    wtf
    • Sep 2001
    • 10914

    #2
    i just use pongs

    Comment

    • Deej
      I make pixels work
      • Jun 2005
      • 24386

      #3
      this has worked in ie..

      http://www.twinhelix.com/css/iepngfix/

      before...

      if youre looking for more browsers, not sure

      Deej's Designs n' What Not
      Hit me up for Design, CSS & Photo Retouching


      Icq#30096880

      Comment

      • fris
        I have to go potty
        • Aug 2002
        • 55943

        #4
        i use twinhelix too
        Since 1999: 69 Adult Industry awards for Best Hosting Company and professional excellence.


        Only Fans Data

        20+ Custom Adult Themes and Plugins

        Comment

        • Voodoo
          ♥ ♦ ♣ ♠
          • Sep 2002
          • 10600

          #5
          Cool, thanks!

          "I'm selflessly supporting the common good, but only coincidentally looking out for No.1."

          Comment

          • GrouchyAdmin
            Now choke yourself!
            • Apr 2006
            • 12085

            #6
            Dean Edwards' "IE7"

            Comment

            • mryellow
              Confirmed User
              • May 2001
              • 934

              #7
              Code:
              <IMG SRC="theimage.png" BORDER=0 STYLE="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=theimage.png',sizingMethod='scale');"/>
              -Ben
              Cyberwurx Hosting
              After trying 5 different hosts, I found the best.
              Since 1997 I've had 2 hours of downtime.
              Fast support, great techs, no hype, no gimmicks.

              <- I in no way endorse whatever just got stuck on the left of my post.

              Comment

              • Iron Fist
                Too lazy to set a custom title
                • Dec 2006
                • 23400

                #8
                Originally posted by mryellow
                Code:
                <IMG SRC="theimage.png" BORDER=0 STYLE="filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src=theimage.png',sizingMethod='scale');"/>
                -Ben
                Holy fuck.... thats an awesome way to bloat a page +20-40%!

                Gotta love IE... why again are we using transparent PNG? Did .GIF sell you out or something?
                i like waffles

                Comment

                • gornyhuy
                  Chafed.
                  • May 2002
                  • 18041

                  #9
                  Another vote for the twinhelix fix.
                  I've been using it for about 2 years now with no problems. Generally selectively call it from CSS.

                  icq:159548293

                  Comment

                  • Bama
                    Confirmed User
                    • Nov 2001
                    • 2727

                    #10
                    This works much better:

                    STYLE="filter:upDate.your.browser.you.worthless.ou t.of.date.fuck(src=theimage.png',sizingMethod='sca le')

                    Comment

                    • webboy21
                      Confirmed User
                      • Nov 2004
                      • 573

                      #11
                      Originally posted by sharphead
                      Holy fuck.... thats an awesome way to bloat a page +20-40%!

                      Gotta love IE... why again are we using transparent PNG? Did .GIF sell you out or something?
                      Because transparant PNG's can be 24 bit.....gif is only 8 bit
                      Available for: CSS | XHTML | PHP | MySQL | Webdesign

                      Comment

                      • brandonstills
                        Confirmed User
                        • Dec 2007
                        • 1964

                        #12
                        I heard in an interview with the guys that did Objective-J that they did a pixel by pixel call to handle background transparency in browsers that didn't support alpha layers. Might want to google it.

                        Brandon Stills
                        Industry and programming veteran
                        [email protected] | skype: brandonstills | ICQ #495-171-318

                        Comment

                        • Marialovesporn
                          Confirmed User
                          • Feb 2007
                          • 579

                          #13
                          Originally posted by Deej
                          this has worked in ie..

                          http://www.twinhelix.com/css/iepngfix/

                          before...

                          if youre looking for more browsers, not sure
                          nice solution

                          Comment

                          Working...