[jQuery] SOT: PNG fix seems to cause page to load endlessly

[jQuery] SOT: PNG fix seems to cause page to load endlessly

I'll check into this, but I don't believe we're using transparent
backgrounds. I'm pretty sure we're just using product images which are in
plain IMG tags.
<!----------------//------
andy matthews
web developer
certified advanced coldfusion programmer
ICGLink, Inc.
andy@icglink.com
615.370.1530 x737
--------------//--------->
-----Original Message-----
From: discuss-bounces@jquery.com [mailto:discuss-bounces@jquery.com]On
Behalf Of Klaus Hartl
Sent: Tuesday, October 17, 2006 10:38 AM
To: jQuery Discussion.
Subject: Re: [jQuery] SOT: PNG fix seems to cause page to load endlessly
I found a fairly easy solution a while ago, try this:
http://www.stilbuero.de/2006/03/15/png-alpha-transparency-fast-and-easy/
It boils down to put a little dynamic property into your style sheet:
img.png {
background-image: expression(
this.runtimeStyle.backgroundImage = "none",
this.runtimeStyle.filter =
"progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + this.src +
"', sizingMethod='image')",
this.src = "/path/to/transparent.gif"
);
}
-- Klaus
Andy Matthews schrieb:





























    • Topic Participants

    • andy