Question
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?
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow