Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

jQuery conflicts

13 years 4 weeks 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
13 years 3 days 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