Quote:
Originally Posted by AWJunkies
Developer please contact me about a fix working perfect for conflicting jS platforums (Prototype,YUI,MooTools).
Below is the link for you to take a look. I have your software all working perfect just wanted to let you know.
http://docs.jquery.com/Using_jQuery_...ther_Libraries
You may be able to give more incite in other places that might need this changed so let me know so I can update it on my end. I think this should by default with your software so your software never conflicts with other platforms but totally up to you.
I just changed what pages I knew I had Prototype or other platforms on so please let me know all places.
Here are instructions:
Code:
OPEN: template- mgc_cb_evo_headinclude
FIND:
<script type="text/javascript" src="clientscript/mgc_cb_evo_add/js/jquery.blockUI.js"></script>
ADD AFTER:
<script>var jQuery=jQuery.noConflict();</script>
OPEN: template- mgc_cb_evo
FIND:
<if condition="!empty($autocompletion_js)">
function mgc_cb_evo_autocomplete()
{
$("#mgc_cb_evo_input").autocomplete([$autocompletion_js]);
}
$(document).ready(function(){
mgc_cb_evo_autocomplete();
});
</if>
REPLACE WITH:
<if condition="!empty($autocompletion_js)">
function mgc_cb_evo_autocomplete()
{
jQuery("#mgc_cb_evo_input").autocomplete([$autocompletion_js]);
}
jQuery(document).ready(function(){
mgc_cb_evo_autocomplete();
});
</if>
OPEN FILE: mgc_cb_evo.js
FIND ALL CASES OF:
$.
REPLACE WITH:
jQuery.
FIND ALL CASES OF:
$(
REPLACE WITH:
jQuery(
|
Thank you very much for this post !
I am going to add it to the todo list and will do the replacements for the next version.
The only place where there are jquery uses is in the js files and the mgc_cb_evo template.