-->

jQuery UI (iPod Like Menu) has a confliction with

2019-08-22 03:10发布

问题:

Has anyone run into any problems running jQuery UI AutoComplete and jQuery UI iPod like DrillDown Menu?

http://wiki.jqueryui.com/Menu

I realize it's still in a development stage, but curious if anyone else has noted this issue? If you know of a fix that would be awesome as well.

Cheers.

回答1:

I updated the jQuery UI iPod like drilldown menu to have a new function name and it worked great.



回答2:

had the same problem - renaming works:

in fg.menu.js find (right on top after comments)

var allUIMenus = [];
$.fn.menu = function (options) {

and replace "menu" eg. with "ipodmenu" like

var allUIMenus = [];
$.fn.ipodmenu = function (options) {

now you call your menu within your pages like

$('#flyout').ipodmenu({
        content: $('#flyout').next().html(),
        flyOut: true 
    });