CSS Transform Obliterates Position: Fixed Apparently, if you have an element with a CSS transform applied to it, and try to put an element inside of it with position: fixed;, that element acts like an element with position:
design Finally: Matchbook Lab's New Site Well, Matchbook Lab, LLC formed in... well, I should know. Last fall sometime. Finally, a couple days after summer starts, I have launched MatchbookLab.com. Many thanks to Lawrence Allen's awesome design and
Changes Abound and Spring Cleaning Last October, I created an LLC: Matchbook Lab. I've been conducting business under that name, and while there still isn't a Matchbook Lab (aka MBL) website yet, it is coming soon. Since I'm
Animating translate3d with jQuery Using CSS3's translate3d for animated transitions can greatly improve performance, especially on mobile, because doing so triggers hardware acceleration. This means that your phone will kick in a little extra umph to get
bootstrap Bootstrap: Dropdown on Hover Plugin I am no longer responding to comments on this blog; it's too much work to manage. Please report any bugs/issues/questions on GitHub. There is a lot of discussion about the Bootstrap
file structure A Smarter, More Secure File Structure As I've been using version control more and more (and I've been using hg over git, using my free Bitbucket Account), I've just been putting my repo at the document root of my
apache Advanced vhosts Configuration This post assumes you know a little bit about setting up your own Apache configuration and want to configure your vhosts (virtual hosts). When I first set up my vhosts, this is all
apache How to Restart Apache in Mountain Lion Starting with Mountain Lion, you can no longer restart Apache by unchecking and re-checking the Web Sharing option in System Preferences > Sharing. Mostly because it's not there. To restart Apache, open the
apache MAMP Without the App: Quick Version [Updated on Jan 14, 2014] This is the quick and dirty version to setting up a MAMP stack on your Mac for local development. This process has been similar for every major OSX
apache MAMP (Mac Apache MySQL PHP) Without the MAMP App [Update] (Feb 16, 2014) The process is still much the same for Mavericks, but I made a few tweaks/updates. [Update] (Oct 8, 2012) Updated the guide for Mountain Lion, added a note
DOM jQuery: Fade Images In On Load Normally in jQuery, you put all of your code in the following block of code: $(document).ready(function() { // Stuff to do as soon as the DOM is ready; }); and that allows you to
dynamic urls How to Handle Dynamic URLs I've noticed that a lot of CMSes that try to use a query string and rewrite it in an .htaccess. For example: http://domain.com/index.php?path=galley/birthday-pics or http://domain.
mysqli Get a Single Value from MySQL Database in One Line of PHP It always bothered me that it takes 17 steps to do a MySQL query (ok, that's slightly exaggerated), even when you only need the value of one field of one row. This may
ajax Smart Query Strings part 2: AJAX This is a version of the PHP snippet I wrote last post, but for JavaScript (specifically jQuery for AJAX calls). Basically, using the same type of call as before, you can use this
get Smart Query Strings Have you ever had a time when you started out displaying some simple information in a backend, and you wanted to allow simple paging, so you print out the page numbers as links
I have no name Where the [User] Has No Name I woke up to my computer this morning having a bunch of weird little problems. I try to get use my terminal (which was already open from last night) and when I tried
fastcgi Web Sharing Isn't Sharing After I updated to Lion, I was innocently coding, minding my own business when I try to test out some PHP code on my local machine and http://localhost isn't pulling up. After
cameron spear Hello World! Welcome to my blog! I've been saying I should start a blog, but have been procrastinating. But now, now I start! And it will be grand! The blog will mostly be a tech