JB Library

Print Email
Written by usawent282
05 May 2010

jQuery

The JB Library plugin is a system utility we use in our Joomla templates to help ease the pain of javascript conflicts and the common occurrence of

having multiple versions of a javascript library loaded into your Joomla site.

The jQuery library plugin neatly loads the native version of mootools first and then it loads the latest version of jQuery from the Google api, but only when necessary. Many of our Joomla modules require this library, but you can use it on any Joomla site.

Overview

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 modules on 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.

 

Features

  • Easily add jQuery to your site
  • Allows you to use a copy of the jQuery library from your site, or to load it from Google
  • Needed by many JB extensions
  • Includes an option for Scroll to top button automatically created when the user scrolls down the page.
  • Includes an option to use the jQuery Lazyload script for images.
  • Includes a browser warning for users using the outdated ie6 browser.
Find out more about JB Library and download it from our website.

Our Stores

In addition to our online shop we also have real live stores. Come in and see us.