Cufon and jQuery Conflicting (Blank Cufon Titles)
I am using WP 3.1.1, JQuery Collapse-o-Matic 1.3.8, and my Theme (Factory) uses Cufon for h3 tags/titles.
The page loads fine and all titles (h3 tag) are Cufon-ed correctly.
I have sliding/hidden content when you click a title (h3 tag, but happens with other titles too) the hidden text appears, but the title changes to non-Cufon text. Then when you click the title to re-hide the text the title “disappears” / seems like blank Cufon images.
Then if you click the blank title again (3rd time) the hidden text appears, and the non-Cufon title comes back. Then click the title again and it’s back to blank Cufon title and the text is hidden again.
Are you following me?
After some searching (http://forum.jquery.com/topic/cufon-isn-t-playing-nicely-with-jquery-help) I found that I might get it to work if I can stick the “Cufon.replace() function” in the appropriate place.
Although I’m thinking this Cufon.replace needs to be called within the JQuery Collapse-O-Matic plugin. I’m thinking this would in effect make Cufon refresh/replace every time a click to a title is made.
Does anyone have any insight into this issue? I’d be a very happy WP user if someone has already tackled this conflict. 🙂
- The topic ‘Cufon and jQuery Conflicting (Blank Cufon Titles)’ is closed to new replies.