JQuery: animate() doesn't work as expected in IE

后端 未结 8 1022
广开言路
广开言路 2021-01-06 02:17

I\'m getting crazy with this IE 7...

==> hhttp://neu.emergent-innovation.com/

Why does following function not work in IE 7, but perfectly with Firefox? Is th

8条回答
  •  余生分开走
    2021-01-06 03:00

    After a day of wondering WHY IE won't animate stuff I found that some versions of JQuery no longer do the thing that they used to:

    This:

    $('#bs1').animate({
        "left": bs1x
    }, 300, function() {
        // Animation complete.
    });
    

    will NOT work with this Jquery: https://ajax.googleapis.com/ajax/libs/jquery/1.6.1/jquery.min.js

    but it DOES work with: https://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js

    hooray old versions!

提交回复
热议问题