Richfaces & Ajax - Cufon font replacement?
-
28-06-2021 - |
Frage
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?
Lösung
use Cufon.refresh() function each time you are refreshing content with cufon text the details here: https://github.com/sorccu/cufon/wiki/API
Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow