Viewing file: jquery_plugin.jq.inc (3.47 KB) -rw-rw-rw- Select action/file-type: (+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php // $Id: jquery_plugin.jq.inc,v 1.1.2.6 2008/07/02 00:51:24 mfb Exp $
/** * Implementation of hook_jq(). * http://drupal.org/project/jq */ function jquery_plugin_jq($op, $plugin = NULL) { if ($op == 'info') { $path = drupal_get_path('module', 'jquery_plugin'); return array( 'ajaxQueue' => array( 'name' => t('Ajax Queue'), 'description' => t('Ajax Queue is a plugin that helps to manage Ajax race conditions. When multiple Ajax requests are made in rapid succession, the results can be returned out of order. This can cause weird behavior in your application.'), 'version' => '1.0', 'url' => 'http://plugins.jquery.com/project/ajaxqueue', 'files' => array( 'js' => array( $path .'/jquery.ajaxQueue.min.js', ), 'css' => NULL, ), 'invocation' => NULL, ), 'cycle' => array( 'name' => t('Cycle'), 'description' => t('Easy to use light-weight slideshow implementation. It supports pause-on-hover, auto-stop, auto-fit, before/after callbacks, click triggers and many transition effects including fade, shuffle, scroll, turn and zoom. It also allows you to define and run your own custom transitions. In addition, it supports, but does not require, the Metadata Plugin and the Easing Plugin.'), 'version' => '2.22', 'url' => 'http://plugins.jquery.com/project/cycle', 'files' => array( 'js' => array( $path .'/jquery.cycle.min.js', ), 'css' => NULL, ), 'invocation' => NULL, ), 'delegate' => array( 'name' => t('Delegate'), 'description' => t('The Delegate plugin is now part of the Validate plugin, so is rarely used on its own.'), 'version' => '1.0', 'url' => 'http://plugins.jquery.com/project/validate', 'files' => array( 'js' => array( $path .'/jquery.delegate.min.js', ), 'css' => NULL, ), 'invocation' => NULL, ), 'imgzoom' => array( 'name' => t('Image zoom'), 'description' => t('Opens links that point to images by zooming the image out into an imgzoom element. Requires the Dimensions plugin.'), 'version' => '1.2', 'url' => 'http://exscale.se/archives/2008/02/11/jquery-image-zoom-plug-in/', 'files' => array( 'js' => array( $path .'/jquery.imgzoom.min.js', ), 'css' => NULL, ), 'invocation' => NULL, ), 'metadata' => array( 'name' => t('Metadata'), 'description' => t('This plugin is capable of extracting metadata from classes, random attributes, and child elements.'), 'version' => '2.0', 'url' => 'http://plugins.jquery.com/project/metadata', 'files' => array( 'js' => array( $path .'/jquery.metadata.min.js', ), 'css' => NULL, ), 'invocation' => NULL, ), 'validate' => array( 'name' => t('Validate'), 'description' => t('Setup powerful client-side form validation. From a protoype in a few minutes to heavily customized validation rules, methods and messages.'), 'version' => '1.3.0', 'url' => 'http://plugins.jquery.com/project/validate', 'files' => array( 'js' => array( $path .'/jquery.validate.min.js', ), 'css' => NULL, ), 'invocation' => NULL, ), ); } }
|