开发者

IE Script Error/JQuery Cycle

I am working on a site and it works/looks great in Safari, Firefox, Chrome and IE8. For some reason when testing it in IE 6 and 7 the jQuery does not work (the images are there but static) I get the following error message:

Internet Explorer Script Error. Line: 38 Char: 1 Error: Expected Identifier, string or number Code: 0

Can someone help me out with this? Internet Exploder is killing me....

www开发者_如何学编程.telechoiceinc.com


As i speculated above... you have trailing commas in your config objects. see my comments below.

$('#ourClientsRight').cycle({
        fx: 'fade',
        speed: 600,
        timeout: 4000,
        delay: 1000, // this comma should not be here
});
        $('#ourCarriers').cycle({
        fx: 'scrollRight',
        speed: 600,
        timeout: 7000,
        delay: 1000, // this comma should not be here
});
0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜