Linish
Linish

Reputation:

CUFON Image Replacement

I had used the CUFON image replacement for one of the site.The following is the api link https://github.com/sorccu/cufon/wiki/api in that they say

Using Cufon.replace() with CSS selectors

Cufon.replace('#message');
Cufon.replace('h2');
Cufon.replace('#content > h3');

when i tried its not working

can anyone help me how to achive this

Upvotes: 0

Views: 232

Answers (1)

gabkadt
gabkadt

Reputation: 11

You need to have a JavaScrtipt library that enables CSS selectors - otherwise Cufon only selects regular elements like h1, h2, li, etc - have look here https://github.com/sorccu/cufon/wiki/usage

Upvotes: 1

Related Questions