Archive

Development

JavaScript = JQuery

JavaScript was and still is one of those coding languages that always seemed a little too difficult to get your head around and do anything truly useful with it. Times have changed and with the availability of numerous JavaScript frameworks the one time chore of adding interactivity to your website has been made easier, even exciting.

After skirting around a few frameworks in the early days I eventually made the conscious decision to stick with JQuery. Rather than use the first framework that came up when searching for a specific technique I decided to stick with one and hope to learn this. Usually I’d prefer to learn JavaScript itself but other than learning some of the basics it was just too much to cope with.

Continue reading “JavaScript = JQuery”

Cufon makes IE8 jump a few pixels on hover

The title pretty much says it all. Today I spent the best part of the day trying to solve a problem that I wasn’t even sure anyone had ever experienced before. After hours of wishing a painful death to the site I was supposed to be lovingly crafting I came across an unusual solution.

The problem in a nutshell

For font replacement I use Cufon, and the site I’m currently working on uses it for a number of headings and links. To get the hover effect of links working properly with Cufon you have to add {hover:true} into the cufon.replace function. This is where the problems started.

Continue reading “Cufon makes IE8 jump a few pixels on hover”

Email validation a new way

There were a few areas of the new website that I was kind of excited about showcasing as I thought they were a little different or possibly even something brand new. One of these things is the contact form.

The form itself is pretty standard, really there’s not much you can do to make a form exciting, and with three text boxes and a textarea there isn’t much complexity to try and improve the user experience. In the background the validation of the form is also fairly standard except for one small feature; the email validation.

Continue reading “Email validation a new way”

Leaving IE6 behind

At the time of writing this post I have just finished browser testing the new site (I wrote it a while back) and it went rather smoothly. The reason for this is because I now use the rule:

If I can’t see it, I don’t care

In the past I would spend hours over the smallest details when it came to browser testing, ensuring a site was identical to the original design. Of course this was a little crazy, so now I get a site built and working in Firefox and then browser test to remove an obvious or critical functionality or positioning problems. The reason for the careless approach is that many users will not notice the small differences or notice that anything is broken as they probably don’t compare sites in various browsers like Web Developers.

Continue reading “Leaving IE6 behind”

12345...8