Hi,
If you have a lang attribute in the <html> tag, you can target specific languages by changing the replace call's selector. If you had something like this:
Cufon.replace('h1')
it would become:
Cufon.replace('html[lang=en] h1')
which would only replace the element on the English version.
The best way however would be to not include Cufón at all for the other language. Even if you only have one template, maybe you can do something like this (using PHP as an example):
<?php if (get_template_language() === 'en'): ?>
<script src="cufon-yui.js"></script>
<script src="my.font.js"></script>
<script src="replace-calls.js"></script>
<?php endif; ?>
Of course, you would need to figure out how to access the information. For the example I simply made up the get_template_language() function.
Simo
> --
> You received this message because you are subscribed to the Google Groups "cufón" group.
> To post to this group, send email to
cu...@googlegroups.com.
> To unsubscribe from this group, send email to
cufon+un...@googlegroups.com.
> For more options, visit this group at
http://groups.google.com/group/cufon?hl=en.
>