A Quick Way to Avoid the blink of Unstyled Content on Page Load
This is a method I’ve been using for a while and wanted to document it for anyone else who may want to use it or improve it. When you have a constructed page that uses…
How to check if a URL contains a given string using jQuery
I used to use regular expressions to check for loads of things pre jQuery. I still do use regular expressions for other things though. In a few cases “there is no school like the old…
target _blank – Open a new window using jQuery/CSS
One of the reasons why people are looking at a scripted solution is that the target=”_blank” attribute isn’t valid in all doctypes (for example XHTML Strict). This is a simple little trick really. There are…
10 easy and useful ways to improve your jQuery coding and performance
Lists like this have been done and re-done so many times. The list I’ve put together is based on a combination of things others have taught me, I’ve tried to implement myself based on the…
Using jQuery to detect window size to add a class
Have you ever needed to add a class to the body tag dynamically depending on the browser window resolution? Generally to do this in the easiest sense requires browser sniffing, something that really isn’t a…
Simple jQuery image / banner randomizer script
It’s quite a common thing for people to use some kind of script to randomize a banner. In fact when I first started doing that I was using Flash ActionScript to do my work for…




Follow me!