News and Blog

How to Remove the White Border from Around a Website

April 20th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
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

April 18th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
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

April 18th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Javascript / jQuery, Web Development.
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

April 15th, 2010 - Posted by Steve Marks to (X)HTML / CSS, Web Development.
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

April 15th, 2010 - Posted by Steve Marks to Software, Web Development.
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...

Simple AJAX / PHP Enquiry Form Tutorial

April 12th, 2010 - Posted by Steve Marks to Javascript / jQuery, PHP, Web Development.
During my 7 or so years of working with PHP I have created literally 100’s of enquiry forms. From simple ones containing just a couple of fields to complex ones (sometimes maybe a bit too complex) containing hundreds of different variables. They all essentially however do the same th...

MySQL Table Not Auto Incrementing Past 127

April 12th, 2010 - Posted by Steve Marks to MySQL, Web Development.
When inserting records into a MySQL table that contains an auto-incrementing field you might at some point start receiving the following error: “Duplicate entry ‘127’ for key 1” If this is the case it means the datatype of the field in question is set as ‘tiny...

Using window.open Within a Link’s href Attribute

April 10th, 2010 - Posted by Steve Marks to Javascript / jQuery, Web Development.
The Javascript window.open() function will open a popup window with a specified URL and is normally placed as a link’s ‘onclick’ action: Open Popup Sometimes however, if using a CMS for example, the onclick option of a link is not accessible and all you have access to is ...

Detect Leaving Visitors with jQuery

April 8th, 2010 - Posted by Steve Marks to Javascript / jQuery, Web Development.
Users leaving your website is never a good thing, but there are some scenarios where you may need to catch them before they head elsewhere on the web as a result of them clicking a link on your site. Let’s imagine that you want to bring to the users attention the fact they are leavin...

SagePay Form Module for Magento

April 8th, 2010 - Posted by Steve Marks to Magento, Web Development.
SagePay, previously known as Protx, has always been a popular payment option for both myself and customers when working with e-commerce sites, primarily because of easy integration, good documentation and quick support response times when issues have cropped up. Three types of integration ...