JQuery IE Object不支持此属性或方法

时间:2010-03-29 14:28:44

标签: jquery object methods internet-explorer-7

我一直在尝试调试这一整天,但似乎无法找到为什么它不能用于IE7 +。除了IE7 +

之外,它在其他浏览器上运行良好

这是JS代码:

$(document).ready(function(){
  $('#bigbox_carousel').rotator({
    width: 490,
    height: 210,
    duration: 'slow',
    rotate: 5000,
    selected: 0
  });
  $('#bigbox_links').rotator({
    before: 1,
    after: 1,
    width: 220,
    height: 70,
    direction: 'up',
    duration: 'slow',
    rotate: 5000,
    selected: 0
  });
});

错误指向代码的第二行。我已经做了一些深入的研究,没有找到任何解决方案。

1 个答案:

答案 0 :(得分:0)

您是否需要使用实际单位设置宽度和高度,如490px和210px等?

相关问题