Author Archives: Ian Dunn
Blogging as Narcissism
Tracking Project Hours/Deadlines
Lightbox Clones
The Lightbox Clones Matrix is a list of scripts that do inline popups, ala Lightbox. You can filter by JavaScript frameworks and features.
Using overflow to Clear Floated Elements
Free Icon Sets
These are some of the better free icon sets I’ve seen:
Writing Semantic (X)HTML
Placing an Element In Front of an Object
Here’s how to have a drop-down menu appear on top of a Flash object:
- Add a z-index of 0 to the object’s containing div
- Add <param name=”wmode” value=”transparent”> inside the object tag
- Add wmode=”transparent” to the embed tag
via Sheriar Designs
The Good, Bad and Ugly of SEO Methods
The Best Way to Define Font Sizes in CSS
Internet Explorer Doesn’t Match PNG Color to CSS Color
All currently available versions of Internet Explorer incorrectly display colors in PNG images. To work around that, instead of setting a background color, you can use create 1×1 pixel image with the color you want, and set it as a repeating background image.
CSS Drop-Down Menus
Tomas Bagdanavicius has created a fast, themeable, cross-browser CSS-based Drop-Down Menu Framework that only uses Javascript for IE6.
NTP Service Doesn’t Start Serving Until It Stablizes
How to Build a Template in CMS Made Simple While Maintaining Sanity
Find largest directories on a Linux box
These commands will return the largest 10 directories on a Linux box.
du -k / | sort -n | tail -20
via peterbe.com
Passing dates and times between PHP and MySQL
Richard Lord wrote a good article explaining the various ways of handling dates and times with PHP and MySQL.
Accessing cforms Data Directly
Find recently modified files in Linux
This will list all the files on a Linux system that were modified in the past 5 days
find /path/to/start/at -mtime -5 -print
Preloading Images
Finding a string inside multiple files on Linux
Snipplr has a good article on how to find all of the files on a Linux system that contain a specific string.
find /the/path/to/start/at |xargs grep 'the string' -sl
The search will include subfolders.