I have a problem with Cufon, I have a list with a source that I have, but also put the hover quisiea other source, it is possible?

Cufon.replace('header nav#menu ul li', {fontFamily:'Helvetica Neue'});
Cufon('header nav#menu ul li a', {
    hover: {
        fontFamily:'Archer Bold'
    }
});

Example: http://jsfiddle.net/ykbxm/

有帮助吗?

解决方案

Okey, lets say that there is cufon api: CUFON API

Everything is writen here, but no good examples, so if you want to use cufon hover on some elements, first you have them active. There is some elements whitch is allery activated, but I don't remember which. For example a element:

hoverables: { a: true }

Full example you can find: here

P.S. It's bad decision to call cufon for same element twice: you was calling cufon for li and then for a element.

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top