Cufon - ignore child elements

96 views Asked by At

I have seen similar questions here, but none of them answer what the title says precisely. If I apply Cufon to a DIV element and it contains children of various tags, (span,div,ul) how can I make Cufon ignore all of those elements?

1

There are 1 answers

1
The Alpha On

You may try something like this:

Cufon.replace('div#id', {
    ignore: {
        span: true
    }
});