This subject of this post is the redesign of my employer’s website, Preloaded.com, and is cross‐posted from the Preloaded blog with permission.
At the beginning of the redesign project we agreed some design tenets: the new site should be a best‐practice showcase and an opportunity to learn and use some of the latest web technologies; and it should employ existing services where practical.
To achieve the former we targeted users with the most modern web browsers, using the graceful (or progressive) enhancement method to ensure that even with older technology, no‐one would be left unable to read all of the site content.
The most obvious example of this is in the design of the buttons; users with a decent browser (e.g. Firefox or Safari) would see these with rounded corners — because these browsers are capable of producing them natively with the CSS3 border‐radius declaration — while users of other browsers (e.g. Internet Explorer) would see them square:
Browser comparison. Top: Safari 4; Bottom: Internet Explorer 8
While all users see the same content, those with a modern browser are rewarded with a slightly improved experience. We used other variations of this method elsewhere throughout the site.
The image carousel on the homepage was made with Glow, as was the slide‐down contact details on each page, and the lightbox overlay effect for screenshots on the case study pages.
The only drawback we found with Glow was a bug in their carousel rendering in IE8; this meant that we had to force compatibility view for IE8 to display as IE7, but it’s something we’re hoping to change after the next Glow release.
Under the bonnet we used some cutting‐edge code to mark up our content. HTML5 is a very new specification and still somewhat in a state of flux, but we used it in two different ways:
First was to provide semantic structure to the pages with the new structural elements (the definitions of which are still being discussed, so may not be completely correct — HTML5 Doctor was an invaluable resource for this).
Second, and of more impact to the user, was using sessionStorage to take advantage of the opportunities for storing data in the user’s browser. We used this in conjunction with Glow to create the carousel and slide‐down effects; if you have a modern browser these are created only once and held in the browser’s storage, whereas older browsers create them anew each time you visit the page — this leads to the site being somewhat snappier in modern browsers.
Working with brand new and cutting edge features meant spending time chasing down false leads and up blind alleys, but was a great way of learning and gave us invaluable experience to take into the sites we make for our clients in future.
There are still one or two changes which we’ll be rolling into the site in the coming months, but if you spot any problems — or just want to talk more in‐depth about the methods and techniques we’ve used — don’t hesitate to leave a comment.