Hi I was just wondering if you could use two different fonts on the same page with CUFON, as you can register a font with the font files but if you register two fonts how how you choose between the fonts.
For example if you do this
But when I use the built-in CUFON replace it only picks the last font registered.
Cufon.replace('#div1'); // Will Replace all text in the div1 with font2
Cufon.replace('#div2'); // Will Replace all text in the div2 with font2
<div id="div1">Font 1</div>
<div id="div2">Font 2</div>
If anyone knows how to do this please helo, thank you.
I found how you do it you need to use a selector like this.
hand picked coder.
For anyone worried about SQL injection go have a look at my small yet powerful script here
Go Pledge for Light Table
, if it hit's $300,000 Python and other languages will get added.
I am 1 of 65,608 people to get a Pebble Watch :P