June 17, 2009
Website Build Report: Clearscapes
This was a clean, ground-up build of the Clearscapes website. Clearscapes has had a web presence since 2000, but a rebuild in 2007 had made the site very difficult to maintain. Rather than waste time and energy managing the existing site, they put up a placeholder in 2008 and commissioned Flywheel to redesign it from scratch.

The Clearscapes website in 2008. All text is rendered images.
The client has a clear idea of branding and image, but wanted to add a strong ‘Wow factor’ without sacrificing usability, ease of maintenance, or scalability. Since it is an architecture firm, they wanted the portfolio to feature prominently.
Taking advantage of the generally larger monitor sizes available since 2000, Flywheel pushed this up to 1024px wide, with very clear and dramatic ‘Whitespace’ used in the header to emphasize the Clearscapes logo and tag line.

The new homepage navigation is entirely text-based.
In addition, Flywheel added a second-level dropdown navigation using jQuery. Since the navigation elements are fairly narrow and sit right next to each other, it would be fairly easy to get confusing mouseOver jitter. The solution was to use the jQuery HoverIntent plugin, which detects mouse speed and fires an event accordingly.

The navigation is also ‘sticky’. It knows what page you’re on.
To better facilitate maintenance and automation, the site was built using a directory-based structure. Each page sits in a unique directory or subdirectory, thus allowing all file and image names to be standardized. A simplified site map therefore looks like this:
Home-->Work-->Dining-->01_helios_coffee_company |->Firm |->Contact
Since updating the navigation is non-trivial for most sites, the portfolio (Work) section has a PHP function (readdir) to scan the section subdirectories for folders, and when it finds one, it auto-generates the icon-based navigation:

Project Icons are auto-loaded and auto-highlight using CSS and PHP.
A further point of interest/coding challenge was the desire to use the Clearscapes tagline as a horizontal scrollbar element, as well as making all of the site text column-based, expanding to the right. These are substantial non-standard approaches, and it took several iterations before we felt the nav bar drew the eye properly and gave users a cue that there was more content to the right of most pages.
To make the multi-column layout work, a set of div tags whose height, width and margin are set in the index.php file. We then use PHP to add up all of the numbers and then set the page width accordingly. The client should not have to adjust these settings. Adding a new ‘page’ is simply a matter of copying a directory, renaming it, and changing the images and text files.
For the project description, the very flexible jqModal was used. The challenge of having a semi-transparent background for the text that would work in all browser was puzzling. Then it was realized that jqModal offers an onShow method. Using this to pop a div with a cross-platform opacity made things (relatively) simple. After that, it was easy to add a ‘bonus’ effect – if the bonus.txt file existed, show a link. If it’s clicked, stretch the window while moving the left margin and fade the new text in. (Note: this is the author’s favorite effect on the site.)

The Bonus link is conditional.
The real fun was developing the homepage ‘Wow Factor’. The design showed a collage made of 84 squares. These would link to an intermediary page, which would lead to the particular portfolio piece. The grid could have three states – be blacked out, be black with a white border, or show the background image and allow a hover event to show a red border. After some consideration, we went with a PHP function to randomly assign one of three CSS classes: ‘black’, ‘border’, and ‘hover’. (‘black’ refers to the fact that the square is blacked out, not the color).
function gridbuilder() {
// make a random number between 1 and 100
$random = mt_rand(1,100);
// Set the % of black squares
if ($random <= 25) {
echo "black\"";
// Set the % of bordered squares
} elseif ($random <= 35) {
echo "black border\"";
// Set the hover class
} else { echo "hover\" "; }
}This creates a situation where ~25% of the time, a square is black, and that ~10% of the time, it’s black with a white border. If it’s neither of those things, it adds the ‘hover’ class, which is a jQuery selector for the red outline hover state. In this case, we left the default jQuery hover, because the ‘ghost’ effect is fun.

The background is a single large image.
There’s also a jQuery UI effect that causes all of the blacked-out squares to fade in red, then fade out. This not only provides a nice visual ‘pop’, but it ensures that something is going on if your connection is a little slow and you’re waiting for the homepage image to load.
Finally, if you linger on the homepage, there is a ‘shimmer’ that runs across the page every 45 seconds. This is yet another jQuery effect, and it is meant to be evocative of the Raleigh Convention Center’s ‘Shimmer Wall‘.
Overall, it was a fun site to work on, especially since the client has such a clear vision of the branding, and a good grasp of project schedules and deadline pressures. It features a lot of the latest web technology without sacrificing usability, and shows off the client’s work well.
~Joe K
2 comments










