Deconstructing New Apple.com Navigation
Written By Mike on Jun. 12, 2007.
16 Comments
Report Note
+ Clip This
I'm a geek, so I like checking out the source code to new sites, especially Apple.com. They do so many cool things on their web properties that it's always worth a look to see how they accomplish their web UI wizardry.
The biggest change to the Apple website is the navigation at the top, what they call the "global navigation". Previously it was a tab bar that also included a secondary level of navigation below for quick access to various parts of the site. Over the years they've added tabs and added sub-links, enough that they felt it was overblown and needed a complete refresh. The new look is made to sit on top of the page's existing background color or image (iPhone pages have a gradient for a background) and I took a screenshot of 3 navigation bar states: black, white, grey:
Although the text in the navigation buttons is Myriad Pro, it's not HTML text but rather an image replaced element. I was a little disappointed to see that they didn't use my negative text-indent technique, but you can't win 'em all :)
The web team actually uses the Leahy/Langridge method, where the height of the tab is set to 0, but a padding-top of 38px expands the tab vertically and allows the background to show. An interesting thing that Apple does is use one large background image, and then shift the background-position in order to only show parts of it at one time, effectively masking the other areas. I've been doing this for awhile (and you should too!) because the browser only has to load an image once, and there is no flickering on a hover state while the user waits for the browser to grab a new image for the tab. This technique was pretty hot when it first came out (Pixy's Fast Rollovers published July 2003) but you newer web designers have probably been using it without knowing its history. I think the most exciting time in the web industry was summer four years ago, when all the image replacement, rollover, and tab navigation articles came out within a few months of each other.
Some of the CSS that makes this possible:
/* BUTTONS */
#globalheader #globalnav li#gn-store a { background-position: 0 0; }
#globalheader #globalnav li#gn-store a { background-position: -117px 0; }
#globalheader #globalnav li#gn-mac a { background-position: -234px 0; }
#globalheader #globalnav li#gn-ipoditunes a { background-position: -351px 0; }
#globalheader #globalnav li#gn-iphone a { background-position: -468px 0; }
#globalheader #globalnav li#gn-downloads a { background-position: -585px 0; }
#globalheader #globalnav li#gn-support a { background-position: -702px 0; }
The image that their CSS is moving around is this:
My only problem with the new navigation's design is the Apple logo on the left side. Apple's been switching to a more minimal representation of their logo (just the apple as a solid object, no gradient) but for the navigation they switched back to the glossy version which strikes me as an afterthought. I wouldn't be surprised if they changed out the Apple logo in the navigation in the next few days after one of their marketing executives realizes the miscue.



anotherstory
Written Jun. 12, 2007 / Report /
I'm pretty sure the typeface used in the navigation is not Helvetica, but rather Myriad.
carmodyarc
Written Jun. 12, 2007 / Report /
Wow, that is a very in depth look. It looks so minimal and easy it's almost hard to believe how much stuff there is in the background... just to make a navigation bar.
I hope you're right about the little Apple logo. I'm a much, much bigger fan of the solid one too.
Scrivs
Written Jun. 12, 2007 / Report /
I think the global navigation does a great job of breaking the site down into major sections although it can be easy to miss certain things (ie. Quicktime). As for the implementation they did well in their use of the technique. It loads quickly and it is pretty seamless.
Scrivs
Written Jun. 12, 2007 / Report /
Also does anyone remember the sections used for the old site?
peroty
Written Jun. 12, 2007 / Report /
MAIN:
Apple Icon | STORE | Ipod + iTunes | .Mac | Quicktime | Support | Mac OS X
SECONDARY:
Hot News | Get A Mac | Hardware | Software | Made4Mac | Education | Pro | Mac@Work | Developer | Where To Buy
As of Aug. 21, 2006.
Source
Scrivs
Written Jun. 12, 2007 / Report /
Ah, thank you very much, interesting how they simplified it then by using less. Of course that doesn't always make things simpler, but I think it will in this case.
Mike
Written Jun. 12, 2007 / Report /
Yup, Myriad, I'm an idiot :)
Nils
Written Jun. 12, 2007 / Report /
Um, I beg to disagree, Mike. This is a great article. Wonderful read.
bemckenna
Written Jun. 14, 2007 / Report /
Nice work on this Mike, do you have ideas about the slick navigation sidebars aswell?
Mike
Written Jun. 14, 2007 / Report /
Left a response over at your sidebar thread :)
eremiya
Written Jun. 14, 2007 / Report /
Hey,
cool review of that site I found gorgeous!!!
But, does anyone know what is that cool effect they used to open that window to play the demos (after you click on "watch the demo")?
I am sure that I saw that on another site before the new apple design.
philbowell
Written Jun. 14, 2007 / Report /
My guess is they are using Lightbox to have the video's appear over the top of the pages.
bemckenna
Written Jun. 15, 2007 / Report /
Lightbox is my first instinct too.
glenndavid
Written Oct. 30, 2007 / Report /
yep, bookmarked this post, must read it again when i have more time...
zhe
Written Feb. 27, 2008 / Report /
good article, hope read more such good articles here... thanks mike!
leliathomas
Written Feb. 27, 2008 / Report /
Perhaps it's just my dislike of Macs (I know I'm mostly in a minority here, particularly in this section!), but would people really be ooing and awwing over this design if it were any site other than Apple's?
It's pretty plain, and I don't mean that in a "oh, wow, look at their minimalistic approach" sort of way. To Apple's credit, I think the subpages are a million times better than the index, but then I think they commit the crime of information overload. I have trouble imagining a n00b user navigating comfortably around their support section, for instance.
Anyway, just my two cents. You did write a good article, Mike!