Responsive vertical navigation menu same as wordpress menu, with search and themes.
With package manager:
npm i rvnm
or
yarn add rvnm
or use dist file of repo.
HTML:
<nav id="navbar" class="">
<ul>
<li>
<span class="spliter">
<i class="fa fa-cart-plus"></i>
Aliquam dictum
</span>
</li>
<li>
<a href="#">
<i class="fa fa-plus-square"></i>
Nunc eleifend molestie velit. Morbi lobortis quam eu velit
</a>
<ul>
<li>
<a href="#">
semper leo
</a>
</li>
<li>
<a>
habitasse platea
</a>
<ul>
<li>
<a href="#">
dictumst
</a>
</li>
<li>
<a href="#">
Vivamus facilisis
</a>
</li>
<li>
<a href="#">
In hac habitasse
</a>
<ul>
<li><a href="#"> platea dictumst </a></li>
<li><a href="#">Nunc sed lacus</a></li>
<li><a href="#">euismod gravida </a></li>
</ul>
</li>
</ul>
</li>
<li>
<a href="#">
sed placerat ipsum
</a>
</li>
</ul>
</li>
<li>
<a href="#">
<i class="fa fa-address-book"></i>
ipsum urna sed risus
</a>
</li>
<li>
<span class="spliter">
<i class="fa fa-cut"></i>
Maecenas fermentum
</span>
</li>
</ul>
</nav>
jquery use:
$(function () {
var rvnMenu = $("#navbar").rvnm({
searchable: true,
theme: 'dark-lesb'
});
rvnMenu.setTheme('dark-doder');
});
You can watch /demo of project.
Online demo:
http://4xmen.ir/github_example/rvnm/demo/
online rtl demo:
http://4xmen.ir/github_example/rvnm/demo/index-rtl.html
is main body container of site default is #wrapper
Mode of menu can be (default = desktop| minimal = tablet | mobile)
Theme of the menu default is ""
and this a light theme other themes:
dark
dark-lesb
dark & pinkdark-doder
dark & bluedark-beryl
dark & greendark-ruby
dark & red
You can use searchable menu but default is false
Sticky ratio default is 1.85