Utility to quickly create a dummy navigation menu for e.g. prototyping
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example
grunt
helpers
spec
src/js
test
.gitignore
Gruntfile.js
README.md
bower.json
package.json

README.md

dummymenu

Utility to quickly create a dummy navigation menu for e.g. prototyping. Heavily inspired by dummytext.

Basic Usage

Include the utility:

<script src="dummymenu.js"></script>

Insert an element with the data-dummymenu attribute in your HTML:

<nav data-dummymenu="x20-l2-d4"></nav>

Configuration

You can use the data-dummymenu attribute to configure the outcome of the transformation.

Parameters start with a character followed by a number and are separated by a dash ('-').

  • repeat: x (default: 10) Define how many items should be created.

  • depth: d (default: 1) Specifies the depth of the menu.

  • link: l Set link style.

Build

Run the Grunt default task to test and build the project.

License

Licensed under the MIT license.