Replace cufon text inline with browser -


my goal simple : have page cufon titles.

and have bookmarklet script change text on page in lorem ipsum automatically.

but cufon text not transformed.

can change cufon text developer tool in chrome browser or other ?

i have tried console run command :

cufon.reload(); 

or

cufon.refresh(); 

but doesn't work.

someone can me ?

i have found solution :

first : replace alt attribute of cufon tag.

<cufon class="cufon cufon-canvas" alt="home" 

to :

<cufon class="cufon cufon-canvas" alt="lorem" 

second execute in console :

cufon.replace('.menu-item a'); 

in case. (to applicate each element replace)


Comments

Popular posts from this blog

android - MPAndroidChart - How to add Annotations or images to the chart -

javascript - Add class to another page attribute using URL id - Jquery -

firefox - Where is 'webgl.osmesalib' parameter? -