views:

121

answers:

1

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

+2  A: 

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
});
prodigitalson
Common IE problem: http://www.google.com/search?q=javascript+trailing+comma
Marcel Korpel
@prodigitalson Thank you for your help! It is all working now... often the smallest thing (a comma) breaks everything! Cheers!
ReidHawkins