Quote from: chinesedream at Nov 18, 2008, 02:23 PM
About the jQuery noConflict, a few things I have learned through countless hours trying to make jQuery code works with prototype in Magento
1. It’s not the Prototype but Scriptaculous causing the conflict - if you use latest version of jQuery (1.2.6), you must also upgrade the Scriptaculous to the latest version (v1.8.1 I think), otherwise you have to down version the jQuery to v1.2.3.
2. This one I am not certain whether it’s Magento specific issus because all JS codes are wrapped in the proxy.php.
Anyhow, I am mentioning it here just in case.
2a: jQuery script(s) must place after the prototype/scriptaculous scripts (not the noConflict code but the links of those scripts)
2b: even so, some jQuery plugin still won’t work. The best and seems to be a guarantee way is to place the "jQuery.noConflict();" at the end of jquery.1.2.6.js
Then in your template, you use something lik this :
jQuery(document).ready(function(){
jQuery("#tab > ul").tabs({ fx: { opacity: "toggle" } });
});
Thanks for your input on this. Whilst waiting for some advice with the thickbox integration I attempted to upgrade scriptalicious hoping that it may be a quick fix. Unfortunately, it didn’t do anything magical like I had hoped

. I also tried adding jQuery.noConflict(); to the end of my jquery.js file and that didn’t do the magic I hoped for either. Then again...If I go this route, does that mean I would need to replace the "$" with "jQuery" on all of my code. If that is the case, then I didn’t do that, so maybe that was my issue.
Going the thickbox route seems to have put me a step in the right direction. Just can’t seem to get the images to show now. It may have something to do with my snippet call though. I’m not sure what to use for "display" and "embedtype" now...
Thanks again for everyones input! It is greatly appreciated!
-Jared
UPDATE: After adding "jQuery.noConflict();" to my file AND changing all of my jquery code from "$" to "jQuery", everything seems to function! I was a little bit leery about going this route at first since for some reason I assumed the whole "noConflict" thing would cripple jquery as opposed to simply changing an operator. Everyones help has been greatly appreciated! Thank you again!
-Jared