Code Directory
 Visual Basic & VB.NET
New Code
Vue Injector 3.3
Spectrum Analyzer pro Live 2019
Devart Excel Add-in for HubSpot 2.1
RentALLScript - Airbnb clone 2.2
SuiteCRM Theme Customization 7.11.6
iScripts NetMenus 3.1
iScripts EasyIndex 2.2
iScripts EasySnaps 2.0
Australia MyPost shipping For Magento 2 1.0.0
Australia Post eParcel For Magento 1.1.1
Source Control for SQL Server 2.0
Answers phpSoftPro 3.12
Exlcart 2.0
School College ERP 1.3.2
White-label Grocery Delivery App Solution 2.0
Top Code
iScripts NetMenus 2.0
iScripts EasySnaps 1
iScripts EasyIndex 1
ATN Site Builder 3.0
IcrediBB Bulletin Board System 1.0
Stepping stone algorithum for solving the transhipment problem
Advanced Post Manager 1.0.5
Azizi search engine script PHP 4.1.10
Simple Comments Script 0.930
Devart Excel Add-in for HubSpot 2.1
White-label Grocery Delivery App Solution 2.0
Vue Injector 3.3
ATN Resume Finder 2.0
Faculty Evaluation System 1.1
PHP Review Script 1.0
Top Rated
phpEnter 5.1.
Quick Maps For Dynamics CRM 3.1
Single Leg MLM 1.2.1
Azizi search engine script PHP 4.1.10
Paste phpSoftPro 1.4.1
Extreme Injector 3.7
Deals and Discounts Website Script 1.0.2
Solid File System OS edition 5.1
Classified Ad Lister 1.0
Aglowsoft SQL Query Tools 8.2
Invoice Manager by PHPJabbers 3.0
ICPennyBid Penny Auction Script 4.0
PHP Review Script 1.0
ATN Resume Finder 2.0
ATN Site Builder 3.0
jQ Aaron Winborn 6.x-1.2
File ID: 100301

jQ Aaron Winborn 6.x-1.2
Download jQ Aaron Winborn 6.x-1.2http://drupal.orgReport Error Link
License: Freeware
File Size: 10.0 KB
Downloads: 1
Submit Rating:
jQ Aaron Winborn 6.x-1.2 Description
Description: *** See #315100: Allow to add JS/CSS libraries (sets of files, settings, and dependent libraries) for the patch to put jQ in core! ***

The jQ module allows other modules to register jQuery plugins in a central repository, and allows administrators of a site to enable or disable specific plugins globally.

The concept behind this module is to create a basic hook structure for jQuery wrapper modules, allowing other modules using these plugins to invoke them in a consistent fashion.

(Drupal 6 version only): You can also simply add new jQuery plugin files in your /plugins or /sites/ directory, and they'll be added to the registry. Then, for example, if you upload jquery.example.js, you could just jq_add('jquery.example'); and you're off. Additionally, if you have a .js and .css file with the same base name there, they'll both be added with the same call. Caveat: if you have two plugins with the same base name, there are no guarantees which will be added to the registry. Better off defining a hook_jq function in that case (see below for information on that).

Kudos to jjeff for his work on the jQuery Plugin Handler (JQP) module that inspired this latest functionality.

Current modules that support jQ:

* hoverIntent
* jCarousel
* Block Refresh
* jQuery Media
* jMedia
* Magnifier
* jQuery Plugins (which includes the Metadata and Validation plugins)

Current modules supported using the included jQ Bridge module:

* jQuery Form (which is included as part of core in Drupal 6)
* Cluetip (which favors a dependency on hoverIntent, but provides its own version if that module is not included)

The basic call to invoke a registered jQuery plugin on a page would be something like the following:



This would load any files required by the plugin, unless an administrator has turned off the plugin manually.

The module defining the plugin would need at the least to provide the following hook:

function my_module_jq($op, $plugin = NULL) {
switch ($op) {
case 'info':
return array(
'plugin-1' => array(
'name' => t('Plugin One'),
'description' => t('This is the Plugin One jQuery plugin. It can make your coffee.'),
'version' => 'r5 // 2008-01-01 // jQuery 1.1.2',
'url' => '',
'files' => array(
'js' => array(
drupal_get_path('module', 'my_module') . '/js/plugin-1.js',
'plugin-2' => array(
'name' => t('Plugin Two'),
'description' => t('This is the Plugin Two jQuery plugin. It can be found at !link.', array('!link' => l('jQuery Plugins', ''))),
'files' => array(
'js' => array(
drupal_get_path('module', 'my_module') . '/js/plugin-2-min.js',
drupal_get_path('module', 'my_module') . '/js/plugin-2-additional.js',
'css' => array(
drupal_get_path('module', 'my_module') . '/css/plugin-2.css',
case 'add':
// any additional processing required when adding a plugin to a page.
switch ($plugin) {
case 'plugin-1':
// fancy code here...

In the future, we might add additional functionality, if we can identify other uses to simplify the jQuery invocation process, such as when jQuery calls are added inline.

License: Freeware

Related: jquery, Plugin, Array, Module, Modules, Plugins, added, drupal path module, Files, 039name039, defining, invoke, Version, hoverintent, winborn, Scripts, jq, aaron, winborn scripts, aaron winborn

O/S:BSD, Linux, Solaris, Mac OS X

File Size: 10.0 KB

Downloads: 1

More Similar Code

This module provides a base for creating an online role-playing game, at its basic similar in nature to Lord of the Red Dragon or Urban Dead, but as development progresses, able to handle increasingly complex games including graphics and jquery. Being integrated with Drupal, it will allow administrators to fully utilize other features of Drupal, integrating forums, organic groups, and more with the RPG.

NOTE: This engine is still in...

To illustrate the use case, if you have three languages enabled for content translation on your Drupal website, French, German and English, and French is the default language, when you create a new node in French, this module will automatically...

#D7CX: I pledge that Embedded Media Field will have a full Drupal 7 release, and/or a migration to FileField (depending on the status of PHP Stream Wrappers + FileField in core) on the day that Drupal 7 is released. Views functionality will be...

This is just an engine right now, and an FTP browser. Not sure where I'm going with this, but there wasn't anything giving an FTP interface in Drupal that I could find, so here's a start. Currently, it hard-codes the ftp u/p info, and defaults to...

The Brightcove project lets you use Brightcove video hosting services in your Drupal website. It provides integration of the Brightcove API and a CCK field which will meet most sites' needs for video hosting.
Current feature list


PLEASE USE AudioField instead!

This module adds Audio support to the FileField module for CCK. It will automatically detect if a file is mime type audio/mpeg, and take over from there.

In particular, it adds support for audio...

User List provides an API to extend the User Administration user list (admin/user/user) by adding filters and data columns. The module adds one filter and data column through its own API that may help account administration: last access time....

jQ-Windows is a jQuery based window manager component which can be used in web applications. The user interface easily integrates with the jQuery-UI library. There is no public release yet, although there is a development release available for...

.m file to solve harmonic load flow for power systems (Matlab 2009).
Line Matrix is line impedance matrix.
load_power Matrix is P+jQ matrix of the loads.
source matrix is the complex value of the harmonic sources and they considered...

A MATLAB Program that uses a webcam to watch three different robots. It gets their positions online so it is possible to draw their paths and their inter-agent distances.

The robots have three different color labels. This program uses...

User Review for jQ Aaron Winborn
- required fields

Please enter text on the image