Ut bibendum massa du ...

Home Features Extensions JB Library Plugin

The jQuery plugin otherwise known as the JB Library is a simple joomla plugin that loads jQuery into the head of your template - You need to install this when setting up Praise and if you want to use the jQuery effects such as the Captify Content, panel menu and superfish menu. See below for instructions on how to do this. Once you have enabled the plugin there is no need to load the jQuery library again in any other extensions so if you have the option to in other modules please set the option to no or unpublished.

Why are we using this method for embedding jQuery?

By adding jQuery as a plugin we can add other jQuery plugins and scripts in our module son the fly. That means that there is no need to add script references to the head of your template and it also means that scripts only get loaded if the module is present.

Setting up:

Please ensure that the JB Library plugin is enabled. You can check this by going to Extensions --> Plugins --> System

jbLibrary

Plugin Parameters

JB library also gives you the option of loading the JQuery library from your own site or via the google repository. Loading it via google will mean that the site will load faster because it may already be cached on your visitors computer, Google’s servers can generally serve the file faster than your shared hosting server and it means that your browser can handle more http requests at the same time.

Please note that if you are working on your site in an offline capacity then you will need to change this to the local setting in order to have the site function properly.

jbLibraryParameters


Last Updated on Monday, 10 August 2009 05:57