Programming

JavaScript Constructors are Just Functions

Posted on

I was recently asked a question about JavaScript constructors, which highlighted to me that this statement isn’t as well known as it ought to be: JavaScript Constructors are Just Functions! There is absolutely no difference between the two, except how you use them. It’s a bit like a pencil. In my hands it is a […]

Programming

Show Links When Printing a Web Page

Posted on

Despite all of the technological advances of the past 100 years, people still print web pages for many reasons. They might need to take some information into a meeting, find it easier to work off of printed instructions or even just want to frame an excellent blog article that has inspired them and put it […]

Programming

HTML5 Page Layout

Posted on

HTML5 is now just around the corner. I have already tested HTML 5 on a myriad of browsers and with a tiny JavaScript and CSS fix, it works in every major player – so if you are a web developer you need to start thinking about your HTML in a subtly different way. The big […]

Opinion

Hayfever Allergy Relief Test

Posted on

With the onset of what has so far been a rather fantastic bit of Summer weather, hay-fever victims everywhere are locking their doors and windows to prevent pollen infestation. Surely, though, we don’t all need to hide indoors every time the weather perks up a bit? The answer, of course, comes courtesy of the equally […]

Programming

CSS3 Gradients and Corners

Posted on

CSS3 is going to bring some awesome new stuff that will combine excellently with HTML5 to give us an absolutely smashing Internet experience. Thing is, it isn’t here quite yet. Despite this, I just can’t wait for all the new features that HTML5 and CSS3 are going to bring. That’s why I converted this website […]

Programming

Supercharge Your PHP Pages

Posted on

While working on the Swift Point Content Mangement System project I had the chance to delve deep into the fantastic world of PHP. One aspect of PHP we worked a lot on was optimisation. This went to low level details, such as the difference between single and double quotes, right through to making you web […]

Programming

Using CSS Selectors

Posted on

It has been said about CSS that you can learn it in a day, but it takes years to master. Actually, it isn’t that hard to master if you have the right information to hand. Today I’m just going to dump a load of information on CSS selectors, which is the most common CSS question […]

Programming

HTML5 and Skip to Content Links

Posted on

If you’ve done web development with any focus on accessibility, you will have found yourself creating “skip to” links on your web page. You may have noticed that I have these very links on this website and wondered what they are! The two links, “skip to navigation” and “skip to content” are of little use […]

Programming

JavaScript Short Tags and XHTML

Posted on

Here is another JavaScript question I was asked yesterday, which was catching out a developer using XHTML and an external JavaScript file. Users of XHTML will be highly familiar with the use of the “short tag” (this isn’t when you sell a load of tags you don’t yet have, speculating that the value of the […]