PDA

View Full Version : Problem with pngfix in jQuery



dchopda
12-28-2009, 06:13 AM
Hi All,

I am using this code as a pngfix in a website. But it creates a problem in IE 6.

<script type="text/javascript">
$(function(){

// BEGIN jQuery goes in here
// Fix all inline PNG images and the element #container with the custom sizingMethod of "scale"

$("img[@src$=png]").pngfix({
sizingMethod: "scale"
});

// $.miseAlphaImageLoader("sdsd");
// END jQuery goes in here
});
</script>

The problem arises when I click a url.

A overlay is generated after clicking the url.

The overlay consists of some png images.

Due to the above mentioned pngfix, after clicking, the png images resizes to 0 i.e., their height & width becomes 0 and the image becomes invisible.

I want to show the images in IE 6.

Can anyone assist me..... It's URGENT ????

jscheuer1
12-28-2009, 07:27 AM
Please post a link to the page on your site that contains the problematic code so we can check it out.