John D Wells

A Freelance Web Architect

Adept at all modern web standard technologies. Deadly with an open source sword, especially Wordpress.

Proud to work with some of the finest designers in London. And some incredible clients, too.

Lead developer for Fresh & Mean. Fancy a pint?

This tumblelog is further embellished by my Flickr, Twitter, and Digg accounts.

04 Feb 08

Web Development Tool - Countdown To Launch

Currently I’m working on a website that is about an upcoming expedition to Antarctica. The site will go live about a month before the expedition begins, and to stir the excitement, there is a nice days until counter in the upper-right corner of the design, counting down the remaining days before they set off.

This was one of the first pieces of functionality I programmed, borrowing just the few lines I needed from an open source script named PHP Countdown 1.2.1. This meant that nearly from day One, and as each day has slowly (or sometimes quickly) gone by, I’ve seen this ominous number slowly creep to Zero. I began at 43 Days Until; already, I’m at 37.

This has had an interesting effect of staying keenly aware of how much time I have (or do not have) left in the project. I like it, it keeps me on my toes.

So I wonder, why not do this for every site I build? I’m sure there’s a similar Javascript-based countdown script; simply amend it to insert a div into the DOM, position it absolutely into the top-right corner, configure it with the day that the site is to go live, and voila: an embedded countdown to launch.

I’m too busy to go out and Google for this, let alone build it myself. Can anyone point me in a good direction?

Comments (View)