Preloading images using Javascript

April 11th, 2009

Preloading images can be a useful techinque when dealing with large images or when you want to use certain effects such as image rollovers, reducing any delay in viewing the image as it already exists in the browsers cache.

Read the rest of this entry »

Convert dates from PHP to MySql and back

November 13th, 2008

One of the things that annoy me the most about PHP and MySQL together is the poor support for dates between then two. I have created a nifty function to convert between them both.

Read the rest of this entry »

Set up multiple virtual hosts

November 6th, 2008

How to set up multiple local virtual hosts on Apache in a Windows environment.

Read the rest of this entry »

Resolving cross browser CSS issues

November 1st, 2008

Getting sites to look the same in many different browsers can be a nightmare, and exploiting parsing bugs can make things even worse. See my preferred method to resolve these issues using conditional arguments.

Read the rest of this entry »

Add CSS styles to form fields

November 1st, 2008

Learn how you can apply different styles to different form fields and how to get all your forms looking great using CSS.

Read the rest of this entry »

Add a confirmation prompt

October 24th, 2008

In this tutorial you will learn how to add a javascript confirmation pop up when you click on a link.

Read the rest of this entry »