Skip to content

creaven/mifmenu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

91 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Mif.Menu

mac style context menu for web applications

Screenshot

Supported browsers: ie7+, opera 10.10+, firefox 3.5+, safari4+, chrome4+

Description

Mif.Menu - javascript menu plugin for web applications.

How to use

demo docs

#js
var appMenu = new Mif.Menu().attach(document.body).load([
	{
		name: 'open',
		action: function(){
			alert('open');
		}
	},
	{
		name: 'close',
		id: 'close_id',
		icon: '/path/to/icon',
		submenu: [
			{
				name: 'moo',
				action: function(){
					alert('moooooooooo')
				}
			}
		]
	},
	{
		name: 'exit',
		icon: '.someCls'
	}
]);

Mif.id('close_id').set('name', 'closing');

About

MooTools Menu control

Resources

License

Stars

Watchers

Forks

Packages

No packages published