Welcome, Guest
Username Password: Remember me

jquery conflict with module
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: jquery conflict with module

jquery conflict with module 2 years, 2 months ago #203

I have got a problem with the template, when i use this code

jQuery.noConflict();
jQuery(document).ready(function()
{




// jQuery Tooltip
jQuery('.tooltip').tooltip({
track: true,
delay: 0,
fixPNG: true,
top: 15,
left: 5,
showURL: false
});

jQuery("li#ca a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("ca");},function(){jQuery("ul#sardmap").removeClass("ca").addClass("off");});
jQuery("li#ci a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("ci");},function(){jQuery("ul#sardmap").removeClass("ci").addClass("off");});
jQuery("li#md a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("md");},function(){jQuery("ul#sardmap").removeClass("md").addClass("off");});
jQuery("li#or a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("or");},function(){jQuery("ul#sardmap").removeClass("or").addClass("off");});
jQuery("li#ss a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("ss");},function(){jQuery("ul#sardmap").removeClass("ss").addClass("off");});
jQuery("li#ot a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("ot");},function(){jQuery("ul#sardmap").removeClass("ot").addClass("off");});
jQuery("li#nu a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("nu");},function(){jQuery("ul#sardmap").removeClass("nu").addClass("off");});
jQuery("li#og a").hover(function() {jQuery("ul#sardmap").removeClass().addClass("og");},function(){jQuery("ul#sardmap").removeClass("og").addClass("off");});

});


maps and rounded buttons disappear
any thoughts?

Re:jquery conflict with module 2 years, 2 months ago #204

  • piranha
  • OFFLINE
  • Jomres Extras Developer
  • Posts: 532
I don`t recognize any of this code as being part of JE Mira. However, jomres.js already contains the jQuery.noConflict(); fix (see here: forum.jomres.net/index.php?topic=2842.0 ) so you don`t have to use this again. Other than that I don`t see anything that can cause the problem...
Become our fan on Facebook and be the first to find out about new releases, updates and discounts Jomres Extras Facebook Page
  • Page:
  • 1
Time to create page: 0.46 seconds