Home Work
SaaS developmentAI developmentAPI developmentMobile app developmentGoogle Ads managementHeadless ShopifyLaravel developmentNext.js developmentReact developmentTypeScript engineeringUI/UX designSEO & AEOEcommerce development
AI solutionsB2B platformsE-commerceHospitalityLead generationLogisticsEducationProcess automationSaaS platformsStartup MVPReal estateHealthcare
LegalHealthcareReal estateFinanceHospitality
The HagueRotterdamAmsterdamUtrechtEindhovenAlmereBredaArnhemNijmegenTilburgEnschedeGroningenLeidenDelftZoetermeerDen Bosch
Studio
AboutProcessLabBlogContact

Menu met Meer-knop (priority+) New

Priority+ navigation: as many menu items as fit stay in the bar, the rest moves into a dropdown behind "More" with the count shown. The order stays the same, so the most important links come first. A ResizeObserver measures the real width; with the slider you see items move one by one. The More menu works with arrows and Esc. Better than a hamburger on tablets and narrow laptops, because the key choices stay visible.

How to use it

  1. Paste the HTML where the navigation & menus should appear.
  2. Add the CSS to your stylesheet. All classes are prefixed, so nothing clashes with your own styles.
  3. Add the JavaScript and call init() with the element that contains the HTML.
<!-- Menu met Meer-knop (priority+) · NedDev · eigen werk. -->
<div class="jouw-container">
<div class="mmp">
<label class="mmp__ctl"><span>Schermbreedte</span><input class="mmp__range" type="range" min="60" max="100" value="100" aria-valuetext="100 procent"></label>
<div class="mmp__frame">
<header class="mmp__bar">
<a class="mmp__logo" href="#mmp">Fysio Oost</a>
<nav class="mmp__nav" aria-label="Hoofdmenu">
<ul class="mmp__list">
<li><a href="#mmp-1">Afspraak</a></li>
<li><a href="#mmp-2">Behandelingen</a></li>
<li><a href="#mmp-3">Tarieven</a></li>
<li><a href="#mmp-4">Team</a></li>
<li><a href="#mmp-5">Locaties</a></li>
<li><a href="#mmp-6">Vacatures</a></li>
<li><a href="#mmp-7">Contact</a></li>
</ul>
<div class="mmp__more" hidden>
<button class="mmp__btn" type="button" aria-expanded="false" aria-controls="mmp-drop"><span class="mmp__bl">Meer</span><svg viewBox="0 0 16 16" aria-hidden="true"><path d="M4 6l4 4 4-4"/></svg></button>
<ul class="mmp__drop" id="mmp-drop" hidden></ul>
</div>
</nav>
</header>
<p class="mmp__note"></p>
</div>
</div>
</div>

More navigation & menus

Seen something you like?

Add it to your selection and send it over. We build your site around it, in your brand.

Get in touch →