In some cases the developers are thoughtful and provide a switch to turn jQuery off, while others arent quite so visionary and the user is left to hack the core code of the extension that loads second on the page. This of course presents an issue for the user when they need to update the extension they are using and also presents issues for users that perhaps aren't especially confident with digging through PHP or even HTML.
enter the JB Library plugin ...
To get around this we started implementing the JB library into our Joomla templates at the start of 2009. The JB Library plugin loads the jQuery library into the head of your Joomla site above where templates, modules and components load their respective jQuery scripts. Initially this free Joomla plug in only loaded the jQuery library, but each revision has seen us add a number of useful scripts to the plugin such as an IE6pngfix, lazyload image script or the back to top script. The benefit of the library is that it provides a switchable easy access source for us to load the jQuery library that is compatible with all of our templates and extensions and easy to turn off should the need arise. We also update the plugin to load recent major releases of the Jquery library in the case that your script isnt backwards compatible
What we would like to see from other third party Joomla developers who use jQuery in their extensions is a provision to turn the inclusion of the jQuery library off or if they felt so inclined to start using our JB LIbrary plugin. Im sure that this will not only lead to a reduction in support for their extensions but a reduction of support requests for us too.blog comments powered by Disqus