diff --git a/README.md b/README.md index c229126..6bcd954 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,6 @@ PriorityNav is a pure javascript plugin that will move your menu items if they don't fit its parent.  -#### Take a look at the **[Demo](http://gijsroge.github.io/priority-nav.js/)** site. ---------- @@ -58,6 +57,7 @@ breakPoint: 500, //amount of pixels when all menu items should b throttleDelay: 50, // this will throttle the calculating logic on resize because i'm a responsible dev. offsetPixels: 0, // increase to decrease the time it takes to move an item. count: true, // prints the amount of items are moved to the attribute data-count to style with css counter. +hiddenAfterClick: false, // hide dropdown after click on inside elemants. //Callbacks moved: function () {}, // executed when item is moved to dropdown diff --git a/demo/css/main.css b/demo/css/main.css index d67fa5a..1a76aca 100644 --- a/demo/css/main.css +++ b/demo/css/main.css @@ -465,7 +465,7 @@ h1 { nav { background-color: black; - margin: 7rem 0; + margin: 0 0 7rem; padding: 0 4rem; min-width: 200px; position: relative; diff --git a/demo/index.html b/demo/index.html index 8a4b282..a850cbe 100644 --- a/demo/index.html +++ b/demo/index.html @@ -1,4 +1,4 @@ - +
@@ -22,47 +22,66 @@You are using an outdated browser. Please upgrade your browser to improve your experience.
-- PriorityNav is a lightweight pure javascript plugin that will move your menu items if they don't fit its parent. -
- -