jQuery sIFR Plugin is an add-on for jQuery that makes it easy to replace text on a web page with flash text (
sIFR ).
How it works?You call a javascript function that replaces text on a web page with sIFR (Scalable Inman Flash Replacement) text, using jQuery advanced features of jQuery Flash plugin. jQuery finds the text you want to replace. Then, the jQuery sIFR Plugin converts the text — changes the size, color, font, etc. The jQuery sIFR Plugin is fully configurable, and you can customize the display of the text no worse than using CSS.
Finally, the jQuery Flash Plugin does all the work of inserting sIFR text into your webpage. As a result, you get beautiful sIFR-text, which is supported by all popular browsers.
')
Using it is very simple; we call the sifr () function for the text we are going to convert:
$('#title').sifr();
We can also customize the styles:
$('#someThing').sifr({
font: 'My Awesome Font' // 'My Awesome Font.swf'
});
$('#someThing').sifr({
color: '#f00' //
});
$('#someThing').sifr({
width: 500 // sIFR element
});
An example .
A full list of features can be found
here .
You can convert any font (.ttf) to * .swf format using
sIRF Generator -a.