Archive: Javascript

Home

CSS3 Transitions: FadeTo – Extending Animate.css

Animate.css is a fantastic tool for adding CSS3 transitions to your site. It gives them a creative edge with a bit of a wow factor. It comes, of course, at the additional cost of loading an extra css file, which is quite chunky at 71kb, and 55kb minified. However you don't have to add...
Read More

Loading Conditional Stylesheets In WordPress

Most developers will be familiar with conditional stylesheets such as the standard Internet Explorer conditional comments that allow you to load a stylesheet only in IE - a familiar site for IE5-10. Fortunately browsers are adhering to standards more every iteration. Unfortunately we still have to support the bad ones: <!--[if lt IE 9]>...
Read More

WordPress: Localization, Javascript & IIFE

If you've been curious how a WordPress theme handles custom javascript - and particularly jQuery - functionality, then you may have delved inside the default WordPress theme, currently TwentySixteen. The main custom javascript file is functions.js, in the theme js subfolder. You may have noticed something that not everyone is familiar with. The code...
Read More

Welcome

Hello, and welcome to my new home on the web. An amalgamation of work across a spectrum of areas both online and offline this will act as a repository for a significant chunk of what I've been involved with. The intention is to bring together over 15yrs experience in development, primarily with PHP and...
Read More