September 13th, 2008

When you’re filling in an HTML form and you hit Return / Enter, your browser will submit the form as if you clicked the default button… which is always the first submit button in the form. Sometimes though, you don’t want the default button to be the first one.
I’ve seen some funky solutions to this [...]

Continue reading about Default button on an HTML form

September 9th, 2008

If only we lived in a world where everybody used non-IE browsers. Web design would be so much easier. The latest thing I’ve discovered IE 7 can’t do, is display a PNG favicon. What can you do?

Make a sweet little 16×16 PNG favicon in your favorite paint application
Butcher it into an ICO file using favicon.cc
Upload [...]

Continue reading about Why can’t IE use PNG favicons?

Scenario: you make a nice HTML form for some purpose. A user comes along and spends some time filling it in… and then clicks a link on the page and loses everything they wrote. User never comes back to your site.
What you need is a little bit of Javascript to check for unsaved changes and [...]

Continue reading about Saving the unsaved with a little Javascript

September 6th, 2008

Another problem I ran into in the course of my recent development of a PHP newsletter tool (Gutuma), was the restriction on AJAX requests to the same domain as the host page. I’ve developed some AJAX gadgets which can be placed on a user’s site and will send subscription requests to the newsletter tool… which [...]

Continue reading about AJAX across domains

September 5th, 2008

Recently I’ve been working on PHP mailing list tool, and I wanted to make a simple Javascript API so that users can place dynamically generated gadgets onto their own pages. I wanted one JS file that could be included on a page, but as I was using a 3rd party AJAX Javascript library, this also [...]

Continue reading about Server-side Javascript merging

June 25th, 2008

Ijuru (ee-joo-roo) n. sky or heaven in several Bantu languages
I might not be in Central Africa right now, but one thing I can do at the moment is assist groups in developing and maintaining websites. Most people don’t use a fraction of the bandwidth, disk space, databases that their hosting offers, so it makes sense [...]

Continue reading about Ijuru and migrating to Wordpress

October 11th, 2006

Google released their new code search the other day and since then people have been finding the most ridiculous things in people’s source code. Kottke.org have a nice compilation of some of these, such as code comments containing passwords, swear words, admissions of being drunk while coding. I’m just dissappointed that my name only appears [...]

Continue reading about Google code search

October 4th, 2006

Updated my fractal rendering applet Refract so now you can save images as JPEGs or PNGs, though this requires accepting an unverified security certificate from me…would you trust me? It’s amazing what I can achieve when I’m too sick and tired to do anything but sit at my computer. I’ve also nearly completed Half-life 2 [...]

Continue reading about Update to Refract

October 2nd, 2006

Behold the reincarnation of Refract. Many moons ago I started writing a Java applet to generate Mandelbrot fractals, but like most of my projects, I got bored before I finished it. Having just submitted a paper to ICASSP 2007, I decided I’d take a day off PhD work and see what I could do with [...]

Continue reading about My Mandelbrot applet