0
在模板中使用时,我无法获得jQuery.mmenu插件与Django一起使用。如果我将演示放置到静态文件夹中,则演示页面的功能与所宣传的一样。但是,当Django将演示页面作为模板提供时,单击菜单时不会发生任何事情。jQuery.mmenu插件在Django中不起作用
Chrome提供的这种反馈:
Uncaught TypeError:
Object #<Object> has no method 'off' jquery.mmenu.js:352
$.(anonymous function)._initBlocker jquery.mmenu.js:352
$.(anonymous function)._init jquery.mmenu.js:229
$.(anonymous function) jquery.mmenu.js:54
(anonymous function) jquery.mmenu.js:732
jQuery.extend.each jquery.js:580
jQuery.fn.jQuery.each jquery.js:245
$.fn.(anonymous function) jquery.mmenu.js:724
(anonymous function) (index):17
jQuery.extend.ready jquery.js:392
DOMContentLoaded
jquery.js:745
Iceweasel(火狐)提供了这一点:
TypeError: glbl.$blck.off is not a function @ jquery.mmenu.js:352
谢谢。我不知道我是如何安装旧版jQuery的;我相信它是最新的。 – blau