[英]JS / JQuery - Object doesn't support this property or method - ie7/8
[英]JQuery IE Object doesn't support this property or method
我整天都在尝试调试,但是似乎找不到为什么它不能在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
});
});
错误指向代码的第二行。 我已经进行了一些深入的研究,但发现没有一种解决方案有效。
您是否需要使用实际单位设置宽度和高度,例如490px和210px等?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.