3 more useful pieces of code from Patrick Fitzgerald.
From the cat from which I bit dynamic CSS palette generation via PHP come 3 more cool things I realized I use fairly often:
A Javascript function to add tabbed navigation to existing pages with minimal refactoring. Simple and way sweet.
A online tool to properly encode URIs. Quick and useful when doing one-off hardcoding of web addresses into scripts.
A CSS positioning cheat sheet, with live examples. For those brain-friend moments when everything’s breaking in IE and you need to be reminded why.


