CSS3 Persistent Navigation Menu

Date posted: 29th November 2010

Author: addyosmani.com

CSS3 Persistent Navigation Menu Information:

Great tutorial by addyosmani.com the way the  jQuery & CSS3 Persistent Navigation Menu works is that when a user lands on your page they get to see the default navigation as usual. If they decide to start scrolling however, the top navigation detaches itself from the page and follows you as you scroll down. If you decide to go back to the top of the page (for whatever reason) the navigation goes back to the way it appeared before. This technique isn’t just limited to showing you the default menu in a way that detaches itself from the page, but the code could very easily be modified to show a completely different menu for those that scroll down


The bar consists of two main components – the first is the jQuery code that powers it, adding the floating class and attributes to the bar that make it appear ‘detached’ when the user scrolls up and down the page. The second element (which is completely optional) are the CSS3 buttons you find along the bar.

Supported browsers:


Actions


Share?
Share with your friends on FacebookBookmark to deliciousDigg It!Share & Bookmark on beboShare & Bookmark on technoratiShare & Bookmark on My SpaceShare & Bookmark on StumbleuponShare & Bookmark on Windows LiveShare & Bookmark on GoogleTweet itShare & Bookmark on YahooShare & Bookmark on LinkedinShare & Bookmark on MixxShare & Bookmark on Evernote

Where to go now?

Share with your friends on FacebookBookmark to deliciousDigg It!Share & Bookmark on beboShare & Bookmark on technoratiShare & Bookmark on My SpaceShare & Bookmark on StumbleuponShare & Bookmark on Windows LiveShare & Bookmark on GoogleTweet itShare & Bookmark on YahooShare & Bookmark on LinkedinShare & Bookmark on MixxShare & Bookmark on Evernote

Comments