Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
/rvnmPublic

Responsive vertical navigation menu

License

NotificationsYou must be signed in to change notification settings

4xmen/rvnm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Responsive vertical navigation menu same as wordpress menu, with search and themes.

A Screenshot

How use it?

With package manager:

npm i rvnm

or

yarn add rvnm

or use dist file of repo.

HTML:

<navid="navbar"class=""><ul><li><spanclass="spliter"><iclass="fa fa-cart-plus"></i>                Aliquam dictum</span></li><li><ahref="#"><iclass="fa fa-plus-square"></i>                Nunc eleifend molestie velit. Morbi lobortis quam eu velit</a><ul><li><ahref="#">                        semper leo</a></li><li><a>                        habitasse platea</a><ul><li><ahref="#">                               dictumst</a></li><li><ahref="#">                                Vivamus facilisis</a></li><li><ahref="#">                                In hac habitasse</a><ul><li><ahref="#"> platea dictumst</a></li><li><ahref="#">Nunc sed lacus</a></li><li><ahref="#">euismod gravida</a></li></ul></li></ul></li><li><ahref="#">                        sed placerat ipsum</a></li></ul></li><li><ahref="#"><iclass="fa fa-address-book"></i>                ipsum urna sed risus</a></li><li><spanclass="spliter"><iclass="fa fa-cut"></i>                Maecenas fermentum</span></li></ul></nav>

jquery use:

$(function(){varrvnMenu=$("#navbar").rvnm({searchable:true,theme:'dark-lesb'});rvnMenu.setTheme('dark-doder');});

DEMO (example)

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

option and events

wrapper

is main body container of site default is#wrapper

mode

Mode of menu can be (default = desktop| minimal = tablet | mobile)

theme

Theme of the menu default is"" and this a light theme other themes:

  • dark
  • dark-lesb dark & pink
  • dark-doder dark & blue
  • dark-beryl dark & green
  • dark-ruby dark & red

searchable

You can use searchable menu but default isfalse

sticky

Sticky ratio default is1.85

screenshot

A Screenshot

Browser compatibility

  • ie IE >= 9
  • edge Edge all version
  • firefox Firefox >= 16
  • safari Safari >=11
  • chrom/chromium chrome / chromium >= 26
  • opera Opera >=15
  • android Android browser >= 4.4
  • Blackberry Browser >= 10
  • ios safari iOS Safari >= 7

[8]ページ先頭

©2009-2025 Movatter.jp