1259 Posts in 348 Topics by 484 members
|Go to End|
17 April 2009 at 8:46am
The first one that I'll talk about is Cufon.js, which is a script that will dynamically go through and replace text with images using a non-standard font face. If you want to read more about cufon, please go here: http://wiki.github.com/sorccu/cufon
I have this exact same thing on my SilverStripe site, but it is not replacing the content of the div id "direction", even though it should be.
18 April 2009 at 6:56pm
Couple things to check
- Are all the JS files loaded
- Are there any JS errors preventing it loading?
- Does the outputted HTML validate? If it is strict and it does not validate then some JS is may not be applied to the page.
- Is the path to the font.js file correct?
19 April 2009 at 4:46pm
Thanks for the reply - you have it - my HTML wasn't able to validate, and as soon as I fixed that problem I had my other one fixed.
Thank you again!
|Go to Top|