Skip to Content Skip to Menu

jQuery conflicts

12 years 11 months ago #183767 by superduperdoo
jQuery conflicts was created by superduperdoo
Latest version of "com_comprofiler" shows that's using version 1.5.2 of jQuery, while my template is using v1.6.4. This causes mainmenu on my site (Joomla) to disappear. Is it possible to have com_comprofiler use a different version of jQuery than 1.5.2?

Please Log in or Create an account to join the conversation.

  • sfraise
  • sfraise
  • OFFLINE
  • Posts: 96
  • Thanks: 14
  • Karma: 4
12 years 10 months ago #186357 by sfraise
Replied by sfraise on topic Re: jQuery conflicts
I would recommend setting you're template jquery in noconflict mode.
I actually have to use a few different jquery versions on one of my sites along with mootools so I set the dollar sign variable differently for each jquery version using something like var $jq = jQuery.noConflict(); then you just go through your scripts using that version of jquery to use the $jq instead of $.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum