Rotating png images using css in IE

Posted by Ernest Shulikovski on Stack Overflow See other posts from Stack Overflow or by Ernest Shulikovski
Published on 2011-01-09T20:41:25Z Indexed on 2011/01/09 20:53 UTC
Read the original article Hit count: 228

Filed under:
|
|
|
|

Here is a mockup for something called "Diversity Disc": http://diversity.iest.pl/ It is just three disks that you can rotate and read "results".

I am using there just four png images, and rotate using jQuery f.i:

$.fn.rleft = function() {
    return this.animate({
        rotate: '-=45deg'
    });
};

It works not so bad in most new browser. But in all versions of IE things go terribly wrong. There is problem with rotation, and with png: after rotation, there is happening something very ugly with alpha transparency of those images.

So my question is, is this possible to make it work in IE 8 and 7 (and, more or less IE 6?). If no I will be forced to order it in Flash. But I would like first to try to do it using just css and javascript (svg?). So what I am doing wrong? Do you have any tips, for using different technology, or js library?

Thank you in advance for any answers.

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about html