Carousel JS Conflicts Even in No Conflict Mode

More
13 years 8 months ago #8050 by ravenknight
I have been working with a VM Junction theme that uses a phatfusion slide show. The slide show works in IE when the carousel is disabled. Tech support for the theme said that "This module is written very badly. It loads jquery.min.js and jquery.carousel.min.js within html body instead of the header."

This is creating conflicts even when it is in No Conflict mode. I have tried disabling the JS Query but then the carousel is gone.

Can we write load the jquery.min.js and jquery.carousel.min.js within the module?

Please Log in to join the conversation.

More
13 years 8 months ago #8058 by ivan.milic
Conflicts occur when you have multiple jQuery references. Thats why you have option "Load JQuery" to disable jQuery in some module if you already have that reference. That module is self-sustainable thats why it has jQuery in it (to be easy to run), but if you already have that reference in header you should disable jQuery in this module.

Go to your browser and use view source. If you have jquery.carousel.min.js appear more than once disable it in later modules.Only first reference in source should stay.

Also make sure reference to jQuery is up to date , because some modules may not work if jQuery version is old.

Please Log in to join the conversation.

Time to create page: 0.152 seconds
Powered by Kunena Forum