Check out my latest project: Full Frontal JavaScript Conference

Archive for the 'Code' Category

Analytics for Bookmarklets & Injected Scripts

Lately I've been working on a number of different pure JavaScript projects ranging from widgets that are injected, bookmarklets and include scripts (red your site for example). The one big thing that I've always wanted to see is analytics for usage, in particular referral tracking. So I've written code for that too

JSONP request in Adobe Air

With the jQuery API browser my key aim was to build an app that worked both in the Adobe Air environment and without any changes work on the web. Typically, the environment is the same, with a few exceptions - one of which I ran in to yesterday. Making a JSONP call simply doesn't return back to [...]

Element 'in view' Event Plugin

I've been preparing a few articles for jQuery for Designers and for .net magazine and in doing so I've had to write a plugin that could prove to be useful to share. I've created an event that will trigger when the element is scrolled in to the viewport.

HTML5 enabling script

Since HTML5 is getting more attention by way of marking up our new pages, and the only way to get IE to acknowledge the new elements, such as <article>, is to use the HTML5 shiv, I've quickly put together a mini script that enables all the new elements.

CSS Tricks' Link Nudge

A subtle effect on the CSS Tricks site that I've always liked, is the nudged links in the footer of the page. With recent chatter about Progressive Enrichment I thought it would be fun, and rather quick to show off his effect using just CSS.

Stop treating Ajax as something special

Everyone wants slick applications that use Ajax to reduce page loads and make it feel, well, more application-ny. Of course this is all done in a progressively enhanced way, so the page works just as well without JavaScript. The problem is, that sometimes, there's an overhead of the extra work to support the Ajax responders. If [...]

IE6 reading text colour for border colour!

In creating a particularly complicated styling for a project I'm working on, I've come across a corker of a bug in IE6.