0

我需要帮助以使我的代码适用于 IE8 和 9。

这就是我所拥有的

$("#logo").delay(1000).animate({
    "margin-top": "-=180px"
}, {
    step: function (now, fx) {
        angle += 2;
        $(this).css({
            "-moz-transform": "rotate(" + angle + "deg)",
            "-webkit-transform": "rotate(" + angle + "deg)",
            "-ms-transform": "rotate(" + angle + "deg)",
            "-o-transform": "rotate(" + angle + "deg)"
        });
    },
    duration: 610
},
"linear");

但它只适用于 FF 和 Chrome。有什么办法让它在IE中工作?

4

1 回答 1

0

我解决了它,使用插件: http ://code.google.com/p/jqueryrotate/ ,

在 IE7、8 和 9 以及 Chrome 和 FF 中为我工作

于 2013-07-09T01:04:36.080 回答