javascript - Cufon: links change size on hover and stay that way -


I have text links in a paragraph that have been replaced by using Cufon. For some reason, when I rule over the link, it becomes widespread in their text, and when I take the cursor off, it still remains. A color change, added to the hover in CSS, returns to the expectation of one, so it is not "stuck" in the hover state, as far as I can tell.

When I turn off Javascript, I'm disabling cufon, only a color change change occurs for the font on the hover. With javascript off, the hover works for state color, but its width is not the problem.

This is IE6, 7 & amp; 8, as well as Firefox, Safari and Chrome, which I believe is how the cufon has been implemented on this site, it's weird.

Anyone walked before this? I need help here, but if I get the reason, then I'll send it back as an answer.

Unfortunately I can not post links or codes due to NDA.

Understand.

A section was:

Cufon.defaultTextCufon = {fontFamily: 'proprietary font', hover: true, fontstretch: 'semi-condens'}; Cufon.linkTextCufon = {fontFamily: 'proprietary font', hover: true};

I have concluded that this issue is the result of the default text, which is denser by default, but there is no link that is why the cufon is clearly a counter-intuitive As a result of containing configuration, give counter-intuitive results.

I changed it with:

Cufon.defaultTextCufon = {fontFamily:

Cufon.linkTextCufon = {fontFamily: 'proprietary font', hover: true}; After that, all the fonts were in the wider state (a little bit) by default, another option would be to add to the element for adding elements "font stretch: semi condens", but actually I know that this site is a better match than a better concept design and it is more readable, which is an unexpected bonus.

You might have guessed, I have not implemented cufon on this site. Hope this page will save someone else's headache.


Comments