Archive

Development

What’s going on with HTML5 and SEO

At the Speak the Web conference a bit ago I attended a session about HTML5. Although I knew a certain amount of what was happening with HTML5 there was one part that I didn’t know and I couldn’t quite figure out what affect it would have.

Continue reading “What’s going on with HTML5 and SEO”

Displaying dates the easy way

For many the code I’ll be putting on this post will appear pretty simple and it is. Yet not everyone is well versed in programming or they are just starting out and still learning the small tips and tricks that many of us take for granted. So here’s a little trick to make the dates on your website a bit more dynamic using PHP.

I’m using PHP because it’s still the most widely used server side language and if you get the theory behind the PHP version it’s usually simple enough to transfer that to a different language even if you need a little help from Google.

Continue reading “Displaying dates the easy way”

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”