Old 20-05-2008, 17:23   #1 (permalink)
destos
Registered User
 
Join Date: May 2008
Posts: 4
Max OS X mimicking navigation

So Ive been working on this for the past two days on an off. Its essentially a knock off of the navigation items that appear in different OS X applications and the Finder. But in clean html and css!

Take a gander! You can download the source code and psd in the example.

patrick.forringer.com/lab/applmenu/ (if someone with more posts could re-post the link below that would be helpful, thanks )

I used a few CSS3 selectors so some of the styling doesn't work in Opera and IE7. Forget about anything below IE7 displaying properly, it just wont work.

By using sprites for the graphics and icons I was able to shove them all onto one image. Which was a fun challenge to work out.

So if any of you want to take a look and give me feed back its much appreciated. Also feel free to reuse this in any way you see fit, just be mindful of the CC license.

Oh and Hi! ( This is my first major post on this wonderfull board )
  Reply With Quote
Old 25-05-2008, 03:59   #2 (permalink)
bjzaba
Design Student
 
bjzaba's Avatar
 
Join Date: Apr 2008
Location: Brisbane, Australia
Posts: 495
haha - this is cool.
  Reply With Quote
Old 25-05-2008, 06:12   #3 (permalink)
brooks
inventer of the left-hand
 
brooks's Avatar
 
Join Date: Aug 2006
Location: Gypsyville
Posts: 1,317
That's actually quite nice, well done squire.

I'm sure that there are ways to shorten the CSS down, but it works, it doesn't quite validate but there's always room to hone it down. Nicely done.
__________________
  Reply With Quote
Old 25-05-2008, 06:50   #4 (permalink)
Do Gooder
 
Do Gooder's Avatar
 
Join Date: May 2007
Posts: 5,497

Last edited by Do Gooder : 25-05-2008 at 07:08.
  Reply With Quote
Old 25-05-2008, 13:15   #5 (permalink)
pgo
Senior Member
 
Join Date: Jan 2005
Posts: 12,340
Looks pretty nice. Besides not working in IE at all (you might consider writing a script that will mimick the selectors you're using and apply classes as needed), my only complaint is that text resizing is somewhat awkward.

On that same note, if you resize text on your main site, your little "view site" arrows will show both states. The way I avoid that is usually to place an empty space of transparent pixels - say, 100 - between the two sprite states. This doesn't increase file size much and avoids showing more than one sprite state at a time.
  Reply With Quote
Old 26-05-2008, 13:04   #6 (permalink)
destos
Registered User
 
Join Date: May 2008
Posts: 4
Pat-
It wasn't in my spec to get it working in IE6, in IE7 most of it works except for the :last-child pseudo-selector. Which can be easily fixed as you said with some JavaScript.

As for resizing, I didn't worry myself with creating gaps in the sprites since the browsers I tested ( Safari and Firefox 3( with zooming disabled) ) didn't expand the actual icon buttons, thus not exposing the alternate states.

I guess what I'm saying is my uses for this project didn't warrant creating compatibility with aging or non compliant browsers.

-brooks.
The CSS seemed quite minimal to me, what bloated it was adding all the selectors for the button states on the first button, middle buttons, end buttons, and single buttons. Then checking whether a button is inactive ect.

But if you have suggestions on how to slim it down I would greatly appreciate it.

Thanks again for all the feedback guys.
  Reply With Quote
Old 26-05-2008, 13:32   #7 (permalink)
hawken
Cornish Pasty
 
hawken's Avatar
 
Join Date: Nov 2003
Location: Tokyo, Japan
Posts: 2,711
Send a message via MSN to hawken
this hammer gets all the nails in except for that nail with the funny shape, it appears to be sticking out the most, must be my hammer, I'll just forget about it and see what happens.
__________________
  Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search


Contact Us - Web Design Forums - Archive - Top
Search Engine Optimization by vBSEO 3.0.0 RC8