문제

I am using jquery to print the date (month) in to a div on a static page, and want to use Cufon to style the font for that date (I have to use Cufon due to the license of the font.) Even though I have the div before the scripts, and the date script before the cufon script, it won't apply the font to the date. It works everywhere else on the page. Can anybody tell me why this is happening, and if there is a solution?

도움이 되었습니까?

해결책

One thing I can say with what you made us assume is, each and every second, I assume that some DIV's html contents get updated. So, in that update request, add this code:

Cufon.refresh();

Hopefully it should work, if not, please try posting some code so that we can give you better answers. :)

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top