jQuery UI (iPod Like Menu) has a confliction with jQuery UI AutoComplete

时光毁灭记忆、已成空白 提交于 2019-12-12 01:30:06

问题


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 
    });


来源:https://stackoverflow.com/questions/3380189/jquery-ui-ipod-like-menu-has-a-confliction-with-jquery-ui-autocomplete

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!