jQuery-menu-aim icon indicating copy to clipboard operation
jQuery-menu-aim copied to clipboard

Dymanic menu

Open jesseamancio opened this issue 11 years ago • 3 comments

Hi, congratulations ! The plugin is great !

I want to use it with a dynamic menu, but the plugin seems not firing the activate and deactivate function to show and hide the items. I think what is necessary is something like a LIVE method to do that. But as I am new to javascript and jquery, I need some help.

Thanks.

jesseamancio avatar May 02 '13 18:05 jesseamancio

Hi.

I discovered I can update the menu with:

var $menu = $(".dropdown-menu"); // jQuery-menu-aim: // Hook up events to be fired on menu row activation. $menu.menuAim({ activate: activateSubmenu, deactivate: deactivateSubmenu });

But, now the div is over the primary items. Any suggestion?

jesseamancio avatar May 03 '13 16:05 jesseamancio

Div in the place after moving activateSubmenu and deactivateSubmenu functions too.

So far, so good !

jesseamancio avatar May 03 '13 16:05 jesseamancio

I second the suggestion for the ability to handle deferred list items as they are added.

Valid avatar Jun 25 '13 05:06 Valid