0

我为我的朋友设计了这个网站:http: //noorjamali.info/

我对这个站点有一个问题 - 为什么这些行在 IE 8 中不起作用?

$j('#lveis-wrapper_3').animate({
    opacity: 0.0,
    height : 740
}, 1200, function () {
    // Animation complete.
)};

这是 jQuery - 那么为什么在 IE 8 中不起作用?

什么是替代品?

提前致谢

4

2 回答 2

0

如果您的代码正确:-

IE兼容性有一些问题给这个元代码

<meta http-equiv="X-UA-Compatible" content="IE=8" />
<meta http-equiv="X-UA-Compatible" content="IE=7" />
于 2012-04-20T09:49:08.253 回答
0

你为什么不能试试http://jsfiddle.net/9FBrx/

$('#lveis-wrapper_3').animate({
                height : '300px',
opacity:'0'                  
            }, 1200, function () {
                // Animation complete.
})
于 2012-04-20T10:20:39.847 回答