Category Archives: How To

AdBlock Detection with JavaScript / jQuery Update

(Yo! This is an update to my Show a Message to AdBlock Users with jQuery / JavaScript post, which I don’t think works anymore!)

Dead Simple PHP Maintenance Lock Out

Here’s a quick and dirty way to lock people out of viewing your PHP site while you’re working on it. Put this in a base file or at the top of any page that you don’t want rendered. <?php if … Continue reading

Semi-Transparent Mockup Overlays with CSS / jQuery UI

I recently needed to convert some PSDs to HTML/CSS with pretty high accuracy, that is, the finished webpages needed to look very close to their original mockups. As is customary nerd style, I wrote some code to help me do … Continue reading

Auto-Hiding “Back to Top” Link with jQuery

A common usability feature on a lot of sites is a “Back to top” link at the bottom of long pages, allowing users to quickly get back to the start of the document without scrolling.

Show a Message to AdBlock Users with jQuery / JavaScript

Hey! I’ve written another quick method to detect AdBlock that works better than this one, I think. I’m leaving this one for posterity.