查看正在使用此脚本的页面,即teleco4.com,您的问题似乎在于第 401 行v_content
的数组终止。问题不在gAnnounce.js脚本中。这是您的代码的相关部分:
v_content=[['','\"Without the helpful, knowledgeable people at Teleco,
I would be lost.\" <br> <strong>Carol Coote, NYC Law
Department</strong>',''],['','\"Bravo Teleco. They did a great job for
us, with good communications and stayed until problem fixed. Thanks.\"
<br> <strong>Jay Brill ABC Training Center</strong>',''],['','\"Your
response time was remarkable – as was the good service – with NO down
time whatsoever,\" <br> <strong>Scott Rovner Vendor Lease Management
Group</strong>',''],]
注意最后声明的嵌套数组后面的附加逗号?!删除那个逗号,你应该没问题。当数组未正确终止时,似乎 IE 有问题。您的代码应该是:
v_content=[['','\"Without the helpful, knowledgeable people at Teleco,
I would be lost.\" <br> <strong>Carol Coote, NYC Law
Department</strong>',''],['','\"Bravo Teleco. They did a great job for
us, with good communications and stayed until problem fixed. Thanks.\"
<br> <strong>Jay Brill ABC Training Center</strong>',''],['','\"Your
response time was remarkable – as was the good service – with NO down
time whatsoever,\" <br> <strong>Scott Rovner Vendor Lease Management
Group</strong>','']]
我已经在本地测试了这个解决方案,它确实在 Internet Explorer 8 中开始正常工作。请自己查看:http: //jsfiddle.net/2rZb5/
干杯!