I'm trying to use cufon font replacement with a cakephp app. I can get
the two js files referenced fine in the header with this:

<?php echo $html->script(array('cufon-
yui','Pigiarniq_Heavy_400.font.js')); ?>

but I'm hung up on the syntax for the last piece for cufon:

<script type="text/javascript">
        Cufon.replace('h1');
</script>

Is there a special cakephp way of adding this code, or do I just add
the above code to the layout as is?

Thanks,
Gary

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en

Reply via email to