Skip to content
Snippets Groups Projects
Select Git revision
  • 5.x-1.2
  • 8.x-1.x default
  • 6.x-1.x
  • master
  • 5.x-1.x
  • 7.x-1.x
  • 8.x-1.7
  • 8.x-1.6
  • 8.x-1.5
  • 8.x-1.4
  • 8.x-1.3
  • 8.x-1.2
  • 8.x-1.1
  • 8.x-1.0
  • 6.x-1.5
  • 6.x-1.4
  • 5.x-1.1
  • 6.x-1.3
  • 5.x-1.0
  • 6.x-1.2
  • 6.x-1.1
  • 6.x-1.0
22 results

jquery_ui

  • Clone with SSH
  • Clone with HTTPS
  • sun's avatar
    #559582 by sun, drupal-id.com: Fixed installation instructions.
    Daniel Kudwien authored
    23fcb87a
    History
    // $Id$
    
    -- SUMMARY --
    
    jQuery UI (http://ui.jquery.com/) is a set of cool widgets and effects that
    developers can use to add some pizazz to their modules.
    
    This module is more-or-less a utility module that should simply be required by
    other modules that depend on jQuery UI being available. It doesn't do anything
    on its own.
    
    For a full description of the module, visit the project page:
      http://drupal.org/project/jquery_ui
    
    To submit bug reports and feature suggestions, or to track changes:
      http://drupal.org/project/issues/jquery_ui
    
    
    -- REQUIREMENTS --
    
    * The jQuery UI library.
    
    
    -- INSTALLATION --
    
    * Copy the jquery_ui module directory to your sites/all/modules directory, so it
      is located in sites/all/modules/jquery_ui/.
    
    * Download the jQuery UI 1.6 release from:
    
        http://code.google.com/p/jquery-ui/downloads/list?q=1.6
    
    * Put the downloaded archive into the module directory:
    
        /sites/all/modules/jquery_ui/jquery.ui-1.6.zip
    
    * Extract the archive.  This will create the following sub-directory:
    
        /sites/all/modules/jquery_ui/jquery.ui-1.6/
    
    * Rename the sub-directory into "jquery.ui" within the jquery_ui module folder:
    
        /sites/all/modules/jquery_ui/jquery.ui/
    
      so the actual jQuery UI JavaScript files are located in:
    
        /sites/all/modules/jquery_ui/jquery.ui/ui/*.js
    
    * Enable the module at Administer >> Site building >> Modules.
    
    * If desired, configure the module at Administer >> Site configuration >>
      jQuery UI. Here you may select which level of compression the jQuery library
      should use. It defaults to 'minified' compression, which strips comments and
      white space.
    
    
    -- API --
    
    Developers who wish to use jQuery UI effects in their modules need only make
    the following changes:
    
    * In your module's .info file, add the following line:
    
        dependencies[] = jquery_ui
    
      This will force users to have the jQuery UI module installed before they can
      enable your module.
    
    * In your module, call the following function:
    
        jquery_ui_add($files);
    
      For example:
    
        jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.sortable'));
    
        jquery_ui_add('ui.sortable');  // For a single file
    
      See the contents of the jquery.ui-X.X sub-directory for a list of available
      files that may be included, and see http://ui.jquery.com/docs for details on
      how to use them. The required ui.core file is automatically included, as is
      effects.core if you include any effects files.
    
    -- CONTACT --
    
    Current maintainers:
    * Jeff Robbins (jjeff)
    * Angela Byron (webchick)
    * Addison Berry (add1sun)
    * Daniel F. Kudwien (sun) - http://drupal.org/user/54136