开发者

JQuery IE Object doesn't support this property or method

开发者 https://www.devze.com 2022-12-24 19:56 出处:网络
I\'ve been trying to开发者_开发技巧 debug this the whole day but can\'t seem to find why it\'s not working on IE7+.It\'s working fine on other browsers except IE7+

I've been trying to开发者_开发技巧 debug this the whole day but can't seem to find why it's not working on IE7+. It's working fine on other browsers except IE7+

Here's the JS code:

$(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
  });
});

The error is pointing to the 2nd line of the code. I already did some deep research and none of the solutions I found worked.


Do you maybe need to set the width and heights using actual units, like 490px and 210px, etc.?

0

精彩评论

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

关注公众号