SC jQuery - System Plugin for Joomla! 1.5

This plugin is used to load jQuery javascript library, and set "no conflict" mode to allow usage with mootools, and other libraries. No conflict mode removes the "$" operator from jQuery, allowing other libraries to use that operator. To use jQuery code with this plugin, you must wrap your code in a function like this...

jQuery(function($) {
$('body').css('color','red');
});

You may add as many lines of code as you need, but you must wrap the whole thing in the protected function. This is just one method of using jQuery in no conflict mode, for other methods, see: Using jQuery with Other Libraries

Thank you for trying this plugin, don't forget to 'publish' it. If you have questions, please email me at phil@snellcode.com

Download plg_system_scjquery

4 Comments

Feed
  1. I was having a problem with jQuery (which I'm using for my template) breaking the mootools front-end image uploader in Joomla 1.5 - I tried various different ways of using the noconflict() function but it just wouldn't work. Now I installed and enabled your plugin and it worked first time. Absolutely brilliant work. Well done. You get 5 gold stars!
  2. A real timesaver, thanks alot
  3. Hi SC

    When I grow up I want to be like you, dad ...

    Trying all night to read up on JOOMLA & JQuery integration, and being a Rookie in both disciplines, you saved my head from exploding. Plus I get to sleep tonight :-)
  4. Hi there,

    Just checked the plugin and was really happy with a result,
    because before I had to modify a component if had had to insert jquery functionality! Now will try UI built in features. Thank you man! Keep pushing:-)

Add Comment


  • >:o
  • :-[
  • :'(
  • :-(
  • :-D
  • :-*
  • :-)
  • :P
  • :\
  • 8-)
  • ;-)