sIFR 3无法在IE6或IE7中运行

时间:2009-12-09 01:40:04

标签: sifr sifr3

除了IE 6和IE 7之外,其他地方都很棒,有什么帮助吗?

http://www.zookacreative.com/beta

1 个答案:

答案 0 :(得分: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在这里失败是正确的。 您需要删除所有定义中的所有额外逗号。

相关问题