Popular Posts
All posts ordered by popularity
jQuery align elements with the grid
When working on a CSS grid, here’s one way of aligning variable-height elements, such as blocks of pre-formatted code, advertisements, and so on.
CSS hover link slide-up background
Quick CSS snippet for you, sort of hard to explain but basically it’s an effect whereby the background color slides up when the link is hovered. Keep reading to check out a demo and grab the code.
Display Twitter count in plain text
Twitter’s constant changes make it necessary to update techniques for otherwise simple tasks such as displaying your Twitter count via PHP.
Image Gallery
Check out a live demo of a responsive, grid-based image gallery.
WordPress Image Gallery Loop
This post shares the custom-loop code referenced by the image gallery tutorial. Basically what we’re doing here is creating a custom loop for displaying images that are attached to the current post (i.e., in the WP Loop). This technique is used for the Responsive Image Gallery.
Targeting different versions of IE
Honestly I can’t stand Internet Explorer. But people still use it, so here’s a few ways (via jQuery & CSS) to target different versions of IE.
Use your own custom email with Gmail
Quick guide for using your own custom email with Gmail.
jQuery Auto Resize Multiple Textareas
The User Notes Widget that’s included in my Dashboard Widgets Suite plugin enables users to edit notes right on the WP Dashboard. To make things extra awesome, each note automatically expands as the user types more lines of text. This post explains how I achieved this trick, aka multiple auto-resize textareas.
CSS Target Opera
Here are some nice CSS techniques for targeting old and new versions of Opera.
Monitor File Changes via Cron
Monitoring any changes made to your files is a super-useful security technique. Lots of applications, including forensics, diagnostics, and being cool. Here is a quick way to set it up directly via simple cron job.
PHP String Cleaner
Here is a PHP snippet for cleaning or sanitizing variables.
jQuery Get Number of Paragraphs
Quick jQuery code snippet to get the number of paragraphs in the specified element. The technique can be modified easily to get the number of any element.