Javascript implementation for Priority+ Navigation — no dependencies
Javascript implementation for Priority+ Navigation — no dependencies
PriorityNav is a pure javascript plugin that will move your menu items if they don't fit its parent.
Load plugin files
Call plugin without any options.
var nav = priorityNav.init();Ideal html structure
…npm install --save priority-navbower install priority-nav.js#cloning repository
git clone https://github.com/gijsroge/priority-navigation.git
cd priority-navigation
#dependencies
npm install
#build files to dist folder
grunt buildTo support Internet Explorer 9 and lower classList.js must be added your page.
To support Internet Explorer 8, es5-shim and classList.js from above must be added your page.
No open issues yet, or sync has not completed.