开发者

jquery animate is not working in IE 7

This is my code and it's working in Firefox , Safari and Chrome. However, can't work in IE 7. How to fix it ?

jQuery(".jqbox_innerhtml").animate({
        "width":"400px",
        "height":"200px",
        "margin-top":"300px",
        "margin-left":"200px",
        "opacity":1,
        }, 1000,function(){
            开发者_StackOverflow社区                                jQuery(".jqbox_close").fadeIn("fast");
        alert("Done");
    });


After testing what i put in the comments and seeing that it works, i post it as an answer,

Remove the , after the "opacity":1

In IE it throws an error and so javascript stops executing..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜