All posts from 2009

Apple-Style Nav Menu
October 1st, 2009 / Tutorials

I'm a big fan of using sprites for navigation menus. While they don't offer the flexibility of a solely HTML & CSS menu due to the fact that you have to create a new graphic every time you want to change a menu item, sprites do offer you infinite styling possibilities. Apple's website is a well-known example of a sprite-driven nav menu, so I'll use that as the inspiration and walk through how to create something similar.

Continue reading

Cleaning Phone Numbers with Regular Expressions
August 30th, 2009 / Code

I've been in the position of having to take an unnormalized database that had virtually no data validation or standardization in place, and migrating it to a normalized schema. I used regex to help me through the process.

Continue reading