December 2008
which statement is faster, elseif() or switch() ?
Submitted by jebaird on Mon, 12/01/2008 - 01:00A couple of days ago I was out on a run and I starting wondering which statement was faster, a elseif() or a switch(). I am a big fan of switch statements. I like how clean they look and its really easy to add a new condition to them. I also assumed that they were much quicker than elseif statements. So I set up this test to try to prove to myself that I was right.
z-index image map hack
Submitted by jebaird on Sat, 12/20/2008 - 01:00While working on one of my newer projects I ran into an issue where I needed to overlay a very large image over multiple elements on my page, including the site navigation. This left the contact link on the far right un-clickible.