You are currently looking at the Mini Slide Navigation post which was published on Tuesday, January 3rd, 2006 at 10:21 AM.
This is Stephen Clark's website. It is coming to you live from New Jersey USA. This is essentially a digital outlet for him to share his thoughts, perspective and interests. It is also where he talks a bit too much about his beloved Boston Red Sox. This site looks best in Firefox. If you are not using it, you are missing out.
So I was recently playing around with a couple of navigation treatments that I’ve seen – Simplebits’ MiniTabs and SlayerOffice’s Focus Slide. And I came up with a navigation “mash-up” of the two. I’m calling it the Mini-Slide Navigation (click to see demo page). I’m not sure this is any great innovation here, and I’m not claiming it to be.
Update – I updated the directory for the Mini Slide Navigation so the files reside in a directory of the same name as the navigation (/sandbox/minislide/). I have a redirect in place on the old page.
I essentially applied the small Javascript used by Steve Chipman at Slayeroffice for his neat Focus Slide navigation to the equally neat Mini Tab navigation treatment created by Dan Cederholm @ Simplebits, with a few CSS tweaks. So instead of having the bottom indicators “appear” when you hover over the navigation link, the indicator slides between the navigation choices. So if you are a CSS purist, you can go with Dan’s creation. Or you can add Steve’s little Javascript (so Web two point oh-ish) and give the navigation a little bit of life.
This has been tested on IE 5 and Firefox 1.5, however I made no material changes to the Slayeroffice JS so the testing done there should be valid for this. Enjoy!
just found this trick, and it works pretty neat, but I dident really liked the way the the slider is activated, but it is an easy fix, done in css only. It basicly makes the whole a element fill more than just the text so the slider is activated in the whole area over the slider. It havent been tested on IE, but it works in Safari and Firefox for mac. The changed css is just posted below
I really love this. I’m trying it out. One thing though….it seems like the underline that moves with the mouse is a fixed width. Would be great it the width could change based on some parameter.
I really like the visuals of this navigation design but am worried about the inherent usability flaw that it creates.
Developers routinely indicate the current location by changing the visual design of the active tab. A kinda “you are here” approach.
If you are on the homepage, you know this because the homepage tab is different.
Your navigation breaks this premise. If you hover over (but do not click) another tab the visual focus shifts to that tab. In essence, even though you are still on the homepage it appears that you are on, for example, the prices page.
This navigation could be greatly improved if that nav. pointer “snapped back” to the active tab on mouseout.
Nice idea! I’ll definitely use this in my upcoming release. This fits great. This would be even more ideal if the slider automatically moved back to the default position on mouseout. For ex. Say if I was currently on the About page, it’d slide to About after the mouse left the menu.
Thanks for all the comments and good words. To quickly respond to a few comments:
* Yes, the fact that the nav does not have an “active” treatment to indicate the user’s location is something I intend to address. I had started looking into it but did not finish.
The “snapping back” functionality is definitely a good suggestion and also a noticable area for improvement. I’ll look into that as well.
* Martin, thanks for the CSS code and comment. I’ll check it out further!
* Not sure on the fixed/flexible width of the underline. I’ll investigate that as well.
* Didn’t test it on Opera/Linux so not surprised there. Sorry!
I’d rewrite it to make the transition constant time rather than constant slide speed, using a cosine stepper, i e x(t,x1,x2) = cos(PI*t/2)*(x2-x1)+x1, t stepping from 0.0 to 1.0. It would probably also make for a snappier interface experience.
Hi, That Navigation is really cool. Im new to CSS and Javascript. I noticed that I could change the speed of the slider in the javascript one way, but was unable to change the other. Even in your demo it slides one way faster. I wanted to slow it a bit and make both directions slide the same speed. Can this be done?
Like Rob, I’ve also written a version. It seems to work in IE6, FF, Moz and Opera 9; it’s also keyboard accessible, handles browser font resizing and uses a Robert Penner easeIn algorithm for the snapIn/snapOut animation effect.
Great little idea stephen, especially as the original simpleBits miniTabs must be one of the most prolific menu designs on the WWW.
View Comments Mini Slide Navigation post
What's On Your Mind?