A simple fluid horizontal navigation using the CSS3 Flexible Box model.
Shows the basic structure and use of HTML5′s localStorage. Taken from http://paperkilledrock.com/2010/05/html5-localstorage-part-one/
This is a navigation toolbar that will stay on top when you scroll down. It’s done with jquery. The logic is simple, when the length of the scrolled window is bigger than the position of the toolbar position, then I add a fixed class to the toolbar. If not then I remove it.
This script was based from Twitter Bootstrap. http://twitter.github.com/bootstrap/base-css.html