Skip to content
The plugin make simply navigation menu from unordered list
Branch: master
Clone or download
Latest commit 94b4574 Jun 14, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist fix readme Jun 14, 2019
docs fix github pages Jun 14, 2019
src fix github pages Jun 14, 2019
.editorconfig init Jun 14, 2019
.gitignore init Jun 14, 2019
.htmlhintrc init Jun 14, 2019
LICENSE init Jun 14, 2019
README.md fix readme Jun 14, 2019
bower.json init Jun 14, 2019
demo.gif fix readme Jun 14, 2019
gulpfile.js fix github pages Jun 14, 2019
package.json init Jun 14, 2019

README.md

jQuery Stack Menu

The plugin make simply navigation menu from unordered list

VIEW DEMO

Getting Started

1. Include jQuery and stackMenu

<head>
  <link href="jquery-stack-menu.min.css" rel="stylesheet">
  <script src="jquery.min.js"></script>
  <script src="jquery-stack-menu.min.js"></script>
</head>

2. Add HTML

<nav id="stack-menu">
  <ul>
    <li><a href="#">Fugiat</a>
      <ul>
        <li><a href="#">Perferendis</a></li>
          <ul>
            <li><a href="#">Vel</a></li>
            <li><a href="#">Cumque</a></li>
          </ul>
        </li>
        <li><a href="#">Ipsum</a></li>
      </ul>
    </li>
  </ul>
</nav>

3. Call plugin

$(document).ready(function() {
  $('#stack-menu').stackMenu();
});

Options

$('#stack-menu').stackMenu({
    all: false, // add links to parents
    allTitle: 'All' // parents links text
});
You can’t perform that action at this time.