Recent articles can be found on the homepage.
posted on 13 November 2008 (09:28 PM)
Recently I wanted to use an uncommon font in a website, but the site was too image-rich to use sIFR, (loading time made for an uneasy user experience).
I decided to add the font anyway in my stylesheet, and provide a “lo-fi” experience, for people who didn’t have the font handy.
The lo-fi version however, should mimic the style of the uncommon font as good as possible.
Sometimes, though, that’s easier said than done.
posted on 29 October 2008 (05:33 PM)
posted on 12 September 2008 (05:26 PM)
A lot of websites try to help you by auto-focusing on an input field on pageload, so you can start typing right away.
Well, thanks so much, you guys couldn't be more helpful.
Except of course that I always use the Backspace key to move back in my history. By focusing on a form field you're essentially disabling some fundamental browser functionality.
posted on 08 September 2008 (11:17 AM)
I stumbled upon an annoying bug today. When dynamically appending input fields to the DOM, their margins are not as you specified in their respective classes.
posted on 09 May 2008 (02:47 PM)
My Subcookies article from May the 27th of last year has proven to be my most popular bit of writing.
A year after publishing, "C" has requested an update.
I have now rewritten my cookies script, fixing some issues pointed out by "C", and added some security as pointed out by Jim Thomson.
posted on 03 August 2007 (03:46 PM)
This involves calls to
setInterval and usually repeatedly checking some conditions.
For simple, periodically executed calls to your custom functions, I have now written an easy extension to the
posted on 26 July 2007 (12:04 AM)
I stumbled across a little oddity today. It kept me busy for longer than I would've liked, so I thought I'd share (although you're probably not very likely to run into the problem, since it's not a very common situation).
posted on 03 July 2007 (03:05 PM)
posted on 27 May 2007 (01:30 AM)
Cookies provide an easy way to save some user data. They can be a nice aid in usability, as they give you a way of remembering certain choices made by the user.
posted on 01 May 2007 (07:25 PM)
I like to think of creative ways to provide graceful degradation;
posted on 01 March 2007 (12:49 PM)
posted on 30 January 2007 (01:10 PM)
Sometimes functions ask for a lot of arguments (or parameters). Even when using functions you've written yourself, it's sometimes hard to keep track of the order in which the arguments are expected.
In this article I will explain a technique that makes argument-order redundant and might make your programming life easier.
posted on 13 December 2006 (02:37 PM)
Personally, I don't like it when the data I submit in an online form exceeds the input field I'm typing in.
It's annoying when half of your text gets cut off by the edge of the field. So today, I thought of a way to (perhaps) make input fields more usable.
posted on 10 September 2006 (03:34 PM)