views:

238

answers:

3

I am building a site right now using the new siFR3 it works perfectly on FF & Chrome but not on IE7 to view click here

+1  A: 

Try fixing the errors: Here and see if that helps.

Making sure your site is W3C compliant can be a major help in fixing troublesome quirks.

zipcodeman
Pretty serious list. Nice catch.
Chris Lively
@Chris Lively Not really, they all seem to be pretty minor errors. Missing alt tags and forgetting to end non-closing tags with />...
ceejayoz
ok fixed. however still didn't fixed the sifr rendering.
kwek-kwek
Well sorry, that is about the extent of my help, I don't even have access to IE7 anymore. (I use linux)
zipcodeman
A: 

Make sure there is no trailing comma before a closing brace in the config. These are illegal in IE's JavaScript engine.

Mark Wubben
what do you mean this is all I have sIFR.replace(officinaWhite, { selector: '#boxes h1', wmode: 'transparent', css: '.sIFR-root { color:#ffffff; }',});sIFR.replace(officina, { selector: '#content h2, #rightCol2 h2, #rightCol h2', wmode: 'transparent', css: '.sIFR-root { color:#000000; }'});
kwek-kwek
A: 

ok I found out what was the problem all it was watch my old code that doesn't work in IE:

    sIFR.replace(officinaWhite, {
  selector: '#boxes h1', wmode: 'transparent',
  css: '.sIFR-root { color:#ffffff; }',
});

sIFR.replace(officina, {  
  selector: '#content h2, #rightCol2 h2, #rightCol h2', wmode: 'transparent',
  css: '.sIFR-root { color:#000000; }',
});

and this is the code that fixed it:

    sIFR.replace(officinaWhite, {
  selector: '#boxes h1', wmode: 'transparent',
  css: ['.sIFR-root { color:#ffffff; }']
});

sIFR.replace(officina, {  
  selector: '#content h2, #rightCol2 h2, #rightCol h2', wmode: 'transparent',
  css: ['.sIFR-root { color:#000000; }']
});

it is only missing the parenthesis under the css:['.sIFR-root { color:#000000; }'] no commmas in the end.

kwek-kwek
The [] are optional if there's just one string. The comma before `});` was the problem, and you removed it.
Mark Wubben
I removed it before putting the "[]" but nothing happends so yeah it was really weird.
kwek-kwek