I currently use Cufon accross our site with something similar to Cufon.set(\'fontFamily\', \'DIN Medium\').replace(\'h1\'); Now for a single H1 tag i would like
function remove_cufon(selector) {
$(selector).html( cufon_text(selector) );
return true;
}
function cufon_text(selector) {
var g = '';
$(selector +' cufon cufontext').each(function() {
g = g + $(this).html();
});
return $.trim(g);
}