1

I tried to make jquery rotate works in IE8.In all browsers it is working except IE8.How can i get it for IE8.

<script>
 $(document).ready(function(){
   function rotation(){
      $(".stand").rotate({ 
         angle:0,
        animateTo:-15,
        duration:6000,
        center: ["50%", "100%"],
        easing: $.easing.easeInOutExpo
        });
     }
     $("#one").click(function(){
        rotation();
     });
  });
</script>
EternalHour
  • 8,308
  • 6
  • 38
  • 57
Pioter
  • 465
  • 3
  • 8
  • 21

2 Answers2

2

Whatever jQuery plugin you're using here, it looks like it's using CSS3 transforms, which are not supported by IE8.

There is a polyfill available called CSS Sandpaper that claims to support IE6 and above, but I've never used it so I don't know if it's any good, and I don't know if it would work with your jQuery rotation plugin.

Kara Brightwell
  • 2,529
  • 1
  • 21
  • 29
0

Let me guess, you are using the latest version of jQuery rotate? There are known issues with that version in case you are trying to rotate div's instead of images.

Use this version:

jQuery Rotate 3.1

It works for me like a charm. But be careful - if you want to use your app for iOS it might let your app crash because of a known memory leak caused by css3 transitions. No problems on desktop tho..

gulty
  • 1,068
  • 1
  • 8
  • 14