Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/jquery/79.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
原型与magento中的其他jquery插件冲突_Jquery_Jquery Plugins_Magento 1.7_Prototypejs_Prototype - Fatal编程技术网

原型与magento中的其他jquery插件冲突

原型与magento中的其他jquery插件冲突,jquery,jquery-plugins,magento-1.7,prototypejs,prototype,Jquery,Jquery Plugins,Magento 1.7,Prototypejs,Prototype,我正在使用magento 1.7.0.2,它的原型版本为1.7,我正在使用一些插件来实现这一要求 我将page.xml中的所有插件都放在prototype.js下 <action method="addJs"><script>prototype/prototype.js</script></action> <action method="addJs"><script>jquery/jquery-1.7.2.min.js&l

我正在使用magento 1.7.0.2,它的原型版本为1.7,我正在使用一些插件来实现这一要求

我将page.xml中的所有插件都放在prototype.js下

<action method="addJs"><script>prototype/prototype.js</script></action>

<action method="addJs"><script>jquery/jquery-1.7.2.min.js</script></action> 
<action method="addJs"><script>jquery/jquery.noconflict.js</script></action>
<action method="addJs"><script>jquery/jquery_slider.js</script></action>
<action method="addJs"><script>jquery/slider.js</script></action>   
<action method="addJs"><script>jquery/global.js</script></action>
<action method="addJs"><script>jquery/jquery.jcarousel.pack.js</script></action>
我试图解决这个问题。就像我把所有必要的插件放在prototype.js之前,然后放在noConflict.js文件中一样。成功了。没有显示任何错误。“添加到购物车”按钮开始工作,签出开始加载


但随后问题出现了。就像大多数插件一样,它停止了工作。我试了很多,但都没能解决这个问题。所以,如果你们能帮忙的话。

在jQuery没有冲突后放入prototype脚本标记,这样jQuery就已经从$Alias中删除了自己。在这种情况下,所有插件都停止工作了。我试过了。文件noconflict.js中有什么?它包含jQuery.noconflict;可以在这里聊天…开始一个聊天室
Uncaught TypeError: Object [object Object] has no method 'attachEvent' prototype.js:6483
Uncaught TypeError: Object [object Object] has no method 'attachEvent' prototype.js:6491

Uncaught TypeError: Object [object Object] has no method 'attachEvent' prototype.js:6483
Uncaught TypeError: Object [object Object] has no method 'dispatchEvent' prototype.js:6599
Uncaught TypeError: Cannot set property '_renderMenu' of null