A nav menu that rotates through infinite links, allowing for more nav menu links than can normally fit.
The above is just a screenshot. For a live demo, see http://bl.ocks.org/audreyr/6151852. In the demo:
- To advance forward: click > or press f
- To go backward: click < or press b
You can also see a styled version at the top of the new djangopackages.com, which looks like this:
Add this bit of JS:
$(function() {
$(".rotatingnav").rotatingnav({
panelCount: 8,
activeCount: 4
});
});
As for the corresponding HTML, see demo/index.html for an example of how to define the HTML for a nav menu with tons and tons of links.
MIT. http://audreyr.mit-license.org
Contributions that make this better are more than welcome!
I particularly could use help implementing mobile support (#1).