문제

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