Skip to content
Hamburger Menu is a jQuery plugin for web applications on mobile devices.
JavaScript HTML CSS
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
css v.1 Jul 12, 2015
js Update hamburgerMenu.js Oct 25, 2016
Ghostbusters.html v.1 Jun 21, 2015
README.md Update README.md Oct 25, 2016
Spongebob.html v.1 Jun 21, 2015
index.html v.1 Jul 4, 2015
other.html v.1 Jun 21, 2015

README.md

HamburgerMenu

Hamburger Menu is a jQuery plugin for web applications on mobile devices.

 

It is very easy to be used. Just add the following element to your HTML code:

<div id="hamburgerMenu"></div>

And run the following javascript:

$("#hamburgerMenu").hamburgerMenu({
			mainContent: 'mainContent',
		   
		}, [
			{"id":"Brain","href":"index.html","text":"Pinky"},
			{"id":"Spongebob","href":"Spongebob.html","text":"Sponge Bob"},
			{"id":"Ghostbusters","href":"Ghostbusters.html","text":"Ghostbusters"},
			{"id":"fraggle","href":"other.html","text":"Fraggle rock"}
		]
);

mainContent: It is the id of container that encapsulates the content of your page.

<body>
	<div id="hamburgerMenu"></div>
	<div id="mainContent">
		here is the content of yout page.
	</div>
</body>

More info: https://www.articlage.com/adrianillo/article/hamburgermenu

Demo: http://adrianillo.name/articlage/hamburgerMenu/index.html

You can’t perform that action at this time.