mac style context menu for web applications
Supported browsers: ie7+, opera 10.10+, firefox 3.5+, safari4+, chrome4+
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');
Mif.Menu - javascript menu plugin for web applications.
A note on comments here: These comments are moderated. No comments will show up until they are approved. Comments that are not productive (i.e. inflammatory, rude, etc) will not be approved.
Found a bug in this plugin? Please report it this repository's Github Issues.
blog comments powered by Disqus