Pergunta

Im leveraging Cufon to do font replacement within my application. I've got a couple of places where I make Ajax calls using Richfaces 4.2 (JSF2), but notice that when the page is refreshed the Cufon replacement is not applied. What is the best way to ensure that the HTML that is displayed after the call has the Cufon font replacement applied correctly?

Foi útil?

Solução

use Cufon.refresh() function each time you are refreshing content with cufon text the details here: https://github.com/sorccu/cufon/wiki/API

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top