Monday, June 9, 2014

Floating navigation menu using jQuery

To create a floating nagivation menu which always stays at the top of the page when you scroll, we can use this script:




With the HTML layout as following:

<div id="nav">
...
</div>

Cool!

Reference: http://www.dwuser.com/education/content/creating-a-floating-navigation-menu/