Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Cufon not working with any modal : solution #221

Squad-G opened this Issue Nov 25, 2011 · 2 comments


None yet
3 participants

Squad-G commented Nov 25, 2011

I had a problem with Cufon using Facebox (jQuery modal plugin). The solution was to add Cufon.refresh(); in the reveal function after the append. I haven't found something about that so I just submit my solution. Thanks.

PS :Sorry if it isn't the right place, didn't found a submit faq solution too :S

Devolv commented Dec 5, 2011

If your content is dynamically generated via Javascript (a la Jquery), Cufon will not be able to render it since the content is not in the browser yet. So you will need to invoke a Cufon.refresh function once those elements generated from your Modal solution function.

So in other words, this is not a bug.

yeah it's defo not a bug, but anyway would be cool to have a look on some examples and solutions!
Google seems doesn't know about such issues.
Is there any plans to add in documentation a little bit more examples for modal windows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment