Quote:
Originally Posted by Cableguy69
These don't appear to be showing for me?
I'm using this font http://www.dafont.com/val.font as it's what I use in my logo.
My code is as follows.
HTML Code:
<script src="cufon-yui.js" type="text/javascript"></script>
<script src="Val_900.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h2');
</script>
Val_900.font.js is the file that was generated, I uploaded that along with the cufon-yui.js you attached, what am I doing wrong?
|
You need to call the cufon file and attribute it to your header tag.
We have had cufon for a while, didnt realise this thread was going.
Essentially.
In headinclude at bottom add your code.
Like so:
<!--brisbane website design cufon-->
<script src="cufon-yui.js" type="text/javascript"></script>
<script src="tipper_400-tipper_700.font.js" type="text/javascript"></script>
<script type="text/javascript">
Cufon.replace('h2', { fontFamily: 'tipper' });
Cufon.replace('h1', { fontFamily: 'tipper' });
Cufon.replace('h3', { fontFamily: 'tipper' });
</script>
<!--end of brisbane website design cufon-->