tags:

views:

416

answers:

1

Jquery SIFR reads the style of a selector directly from the css. So there is no need to configure this manually in the javascript as follow.

sIFR.replace(futura, {
  selector: 'h1',
  css: '.sIFR-root { background-color: #F9F9F9; color: #FF0000; }' // <---
});

I looked trew the SIFR 3 docs but i cant seem to find a command that achieves this. Is it possible to make sifr3 look at the stylesheet directly?

+1  A: 

Not without coding for it. This is because sIFR also takes a few non-standard CSS properties that are send to Flash. The jQuery port skips over a lot of these more subtle things.

Mark Wubben
so which is better?
metal-gear-solid
Official sIFR 3.
Mark Wubben