Here’s a JavaScript challenge: find the height and width of a string of text. Sounds easy, right? But there is more to this problem than meets the eye.
Posted on October 18th, 2007 in the JavaScript category |
Permalink |
No Comments »
JavaScript’s innerHTML method is a handy way to grab or update text from any node within your HTML document. It’s simple to use, works great in every modern browser, and even has good backward compatibility with older browsers. There’s just one little problem: innerHTML is not a W3C standard. To maintain standards-compliance in your JavaScript code, you need to use Document Object Model (DOM) methods. This brief tutorial will show you how.
Posted on October 9th, 2007 in the JavaScript category |
Permalink |
No Comments »
In my last post, I took a critical look at some of the problems and limitations I discovered while setting up Capistrano 2.0 for deploying my Rails app. Now that my frustrations are fully vented, I can share the details of a setup that actually works with DreamHost.
Posted on October 5th, 2007 in the Rails category |
Permalink |
No Comments »