Return to Snippet

Revision: 30540
at August 17, 2010 04:04 by kopeo


Initial Code
/*
   Works best for background images with set dimensions
   Just add a ".pngfix" class to anything you want fixed
   or put in some other jQuery selector.
*/
$('.pngfix').each( function() {
   $(this).attr('writing-mode', 'tb-rl');
   $(this).css('background-image', 'none');
   $(this).css( 'filter', 'progid:DXImageTransform.Microsoft.AlphaImageLoader(src="path/to/image.png",sizingMethod="scale")');
});

Initial URL

                                

Initial Description

                                

Initial Title
IE6 png-fix jQuery

Initial Tags

                                

Initial Language
JavaScript