download on GitHub

PriorityNav is a lightweight accessible pure javascript plugin that will move your menu items if they don't fit its parent.

PriorityNav is developed by @gijsroge & weighs around 5kb & 2kb gzipped. The idea behind this plugin is based around the priority+ navigation from Brad Frost.

PriorityNav is licensed under the MIT license which basically means you can do whatever you want as long as you include the original copyright and license notice in any copy of the software/source.

Browsers support:
ie9+ (if you include classList.js), Chrome, Firefox, Safari, Opera. (mobile & desktop)