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.zip

3 Comments

Feed
  1. A real timesaver, thanks alot
  2. 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 :-)
  3. 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-)
  • ;-)