Hi There,
I added a jquery megamenu to my site, but now my thichbox script is not working correctly. I have been pulling my hair out trying to get it to work. I added a noconflict statement and changed $ to jQuery in my jquery.js file, but it is still not working correctly. Any help would be greatly appreciated. Thanks!
The link above is broken, so I can only go by the code you’ve posted.
The purpose of jQuery.noConflict() is not to prevent conflicts within jQuery code but to allow other javascript libraries to use $ as a function or variable name without conflicting with jQuery’s use of $. As you’ve made no mention of using other libraries alongside jQuery, there seems no need for it in your code.