Long multi-line strings in JavaScript

The other day I needed to make some dynamic entries into a JavaScript object array. One of the values for these was a block of HTML code that needed to be output. The problem is that the blocks have new line characters in them, and setting them up with standard quotes (single or double) doesn’t […]

Read More

Cufon only uses the last font loaded

I’ve had another problem using Cufon on a site. I have to say that I don’t think that this one is the fault of Cufon, or the WordPress plugin programmer  – I think that it’s a general JavaScript issue. The problem that I had was that I had to use two different fonts with Cufon […]

Read More