The plugins site is currently in development.
We've been looking to provide a higher-quality, spam-free experience at the plugins site for some time, and a major error on our part forced us to shut down the current site before we could put the new one in place. We are developing a new site, and you can follow along with its development on GitHub. For more information about this transition, including steps you can take as a plugin author to prepare, please read our post about what's going on.
(mb)Menu, a powerful jQuery multilevel tree menu 1.5.0
1.5 (NEW!)
three new params:
closeOnMouseOut: false (default) // you can hide the menu onmouseout
closeAfter: 500 (default) // set the time to wait before closing after you exit the menu
onContextualMenu: function(o,e){} // a function to be called on contextualMenu
Now the onclick action is extended to the whole voice line.
If you set an href attribute, it’s managed to the whole line and get the right target
When you set a contextualMenu, once you rightClick on the dom element an accessible variable is set ($.mbMenu.lastContextMenuEl);
so you can build your own function referring to every attribute of your object;
for example: if you have the same action on the menu voice for all the elements but you need the ID of the dom element you clicked on, you get it in this way:
$($.mbMenu.lastContextMenuEl).attr("id");
| Attachment | Size |
|---|---|
| mbMenu.min_.js_.txt | 10.48 KB |
