News & Blog
Grab a Client’s Attention: A Cool Little Javascript Number Input Box
A web application could contain equations and processes that Stephen Hawking himself would be proud of, but there’s one little feature I use in my work that always guarantees an instant reaction from users. Hell, I’m sure it’s even won me jobs before when showing it to po...
Google Maps API Library for CodeIgniter Framework
UPDATE: I have now released a new version of this library that uses Version 3 of the Google Maps API. Click Here to Read More I am pleased to announce that the first release of my Google Maps API library for the PHP framework CodeIgniter is now ready and available for download. Seeing as e...
Reducing Analytics Inaccuracy as a Result of Website Development
If you’re anything like me and work on a multitude of various websites you’ll have different versions of sites all functioning at the same time; maybe a copy running on your localhost for development, a staging version and the live production site visible to the public. With an...
Adding Numbers Correctly with Javascript using parseInt()
Are you adding 2 and 2 together and getting 22? It’s a common problem with adding numbers, especially if the numbers are being passed via a user’s input in a textfield. The problem here is that the numbers are being treated as strings and doing something like below will result ...
Enabling $_GET Variables when using CodeIgniter
The PHP framework CodeIgniter, by default, does not allow the use of passing parameters via the URL query string, forcing developers to use URL segments to pass information between pages. There are however some scenarios where you do need to access the $_GET array, for example when integra...
How to Remove the White Border from Around a Website
Everyone remembers their first attempt at creating a website. For me, my first website was the most important. It taught me not only the very basics of creating simple HTML, but also taught me that I love to code and without it, I sure as Hell wouldn’t be doing what I do today. If yo...
Creating a Navigation Menu using an Unordered List and CSS
By far the easiest, cleanest, most lightweight and most flexible way to create a horizontal navigation menu is to use an unordered list and style it with CSS. I’m going to show you, starting with a standard list, how to create a fully functional menu including formatting and function...
Changing a CSS Background Image Using Javascript
When reading forums I’ve seen the question popup quite a lot that is; How do I change the CSS ‘background-image’ property using Javascript. I remember when I needed to do this myself it took quite a while for me to figure out how to do it. I’d been able to change fo...
How to Achieve 100% Height Plus Footer Using CSS
View a Demonstration I remember a couple of years ago, before I used CSS to structure my website layouts, achieving 100% height with tables and getting a footer to stick to the bottom of the page was a nightmare. No matter how many forums or articles I read, it never seemed to be an easy [...
How to Copy or Backup your FileZilla Site Manager
If you’re anything like me and use the FTP client FileZilla to manage hundreds of sites, you’ll know that to lose all your site manager settings and have to re-input them would take hours. If the time has come to backup or if you’ve purchased a new computer and are lookin...