Category Archives: JavaScript

Deferreds and a Better Geolocation API

Warning, this article is intended for Deferred unbelievers to convince them that Deferred objects are both easy and useful. If you’re already a Deferred object expert, you might want to skip this one. Earlier this year I was given the opportunity to attend the jQuery Conference in San Francisco. I was delighted to go, able [...]
Posted in JavaScript |

FitText + BigText: A Tale of Two Plugins

Earlier this week, @TrentWalton tweeted: We at @paravelinc happily present to you FitText—a jQuery plugin for inflating web type: http://t.co/1NuQg5z Naturally, I wondered how it compared to BigText, a plugin of my own creation to Make Text Big. Trent continued: It’s in the GitHub readme, but I want to recognize BigText from @zachleat as another [...]
Posted in JavaScript |

The JavaScript Testing Challenge Winner

Congratulations to Steve Love, who was the first to complete The JavaScript Testing Challenge. He wins a copy of Christian Johansen‘s book, Test-Driven JavaScript Development. If you code for a living, testing will make your life easier. Even though the contest is over, I encourage you to go through the steps and complete the original [...]
Also posted in Contests | Tagged , |

Et tu, X-UA-Compatible?

Or, the story of how I learned that the X-UA-Compatible header/meta tag is NOT the same as the Internet Explorer 8+ Compatibility View button. Please note that the following information may be common knowledge, as this behavior is as described in the pre-requisite Microsoft documentation on the subject. However, I feel this behavior to be [...]
Also posted in Web Browsers | Tagged , |

BigText Makes Text Big

I like shortcuts:
Also posted in Projects, Typography | Tagged , , , , , , |

An Update to The JavaScript Testing Challenge

Update: The JavaScript Testing Challenge Winner In The JavaScript Testing Challenge, I asked JavaScript developers of the world to change their heathen ways and embrace the future of automated testing for a healthier and brighter tomorrow. However, due to seasonal timing or otherwise real life related reasons, the challenge was greeted with a worldwide chorus [...]
Also posted in Contests | Tagged |

The JavaScript Testing Challenge

Update 2: The JavaScript Testing Challenge Winner Update: An Update to The JavaScript Testing Challenge Think back to the last time you wrote new code from scratch. Not autogenerated Dreamweaver image hovers or a pasted script from Dynamic Drive, but pure unadulterated new code. What was your process? I’m betting it’s probably similar to: (1) [...]
Also posted in Contests | Tagged , , , |

Faking Onload for Link Elements

Updated 2011/09/27: Rejoice! This issue has now been fixed in Firefox. Or, I Am Dynamically Loaded CSS (and So Can You!) Dynamic resource loading is one of the keys to have a performance happy web application. There are generally three different criteria we must address when making a request: cross domain security policies, asynchronous/synchronous (will [...]
Also posted in CSS | Tagged |