Search code examples
sifrsifr3

sIFR 3 not working in IE6 or IE7


Works great everywhere but IE 6 and IE 7, any help?

http://www.zookacreative.com/beta


Solution

  • I believe the error is in your 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;}'
            ],
    });
    

    the trailing comma in the list is graciously ignored by Firefox, but not by IE. This screws up the siFR initialization process. I think IE is correct to fail here. You will need to remove all extra commas in all definitions.