除了 IE 6 和 IE 7 外,其他地方都很好用,有什么帮助吗?
1 回答
1
我相信错误出在您的sifr-config.js中:
sIFR.replace(nfslab, {
selector: '#home h3.about,#ourapproach h3.about,#contactus h3.about, #mobile h3.about, #web h3.about, #affiliate h3.about, #environments h3.about, #branding h3.about, #packaging h3.about, #pop h3.about, #print h3.about',
wmode: 'transparent',
css: [
'.sIFR-root { background-color: #FFFFFF; color: #000000; font-size: 16px; text-decoration: none; cursor: pointer; }',
'a {color: #000000; text-decoration: none;}',
'a:hover {color: #6BC8C6; text-decoration: none;}'
],
});
Firefox 会优雅地忽略列表中的尾随逗号,但 IE 不会。这搞砸了 siFR 初始化过程。我认为 IE 在这里失败是正确的。您将需要删除所有定义中的所有额外逗号。
于 2009-12-09T01:46:11.983 回答