4 jQuery UI (http://ui.jquery.com/) is a set of cool widgets and effects that
5 developers can use to add some pizazz to their modules.
7 This module is more-or-less a utility module that should simply be required by
8 other modules that depend on jQuery UI being available. It doesn't do anything
11 For a full description of the module, visit the project page:
12 http://drupal.org/project/jquery_ui
14 To submit bug reports and feature suggestions, or to track changes:
15 http://drupal.org/project/issues/jquery_ui
20 * The jQuery UI library.
25 * Copy the jquery_ui module directory to your sites/all/modules directory, so it
26 is located in sites/all/modules/jquery_ui/.
28 * Download the jQuery UI 1.6 release from:
30 http://code.google.com/p/jquery-ui/downloads/list?q=1.6
32 * Put the downloaded archive into the directory:
34 /sites/all/libraries/jquery.ui-1.6.zip
36 * Extract the archive. This will create the following sub-directory:
38 /sites/all/libraries/jquery.ui-1.6/
40 * Rename the sub-directory into "jquery.ui":
42 /sites/all/libraries/jquery.ui/
44 so the actual jQuery UI JavaScript files are located in:
46 /sites/all/libraries/jquery.ui/ui/*.js
48 * Enable the module at Administer >> Site building >> Modules.
53 The jQuery UI module uses jQuery UI 1.6 because jQuery UI 1.7 requires at least
54 jQuery 1.3, which is not shipped with Drupal 6. If you absolutely need to move
55 to jQuery UI 1.7, you can get around this by doing the following:
57 * Download and install the corresponding jQuery Update module from:
59 http://drupal.org/project/jquery_update
61 * Download the latest jQuery UI 1.7 release from:
63 http://code.google.com/p/jquery-ui/downloads/list?q=1.7
65 * Put the downloaded archive into the directory:
67 /sites/all/libraries/jquery-ui-1.7.zip
69 * Extract the archive. This will create the following sub-directory:
71 /sites/all/libraries/jquery-ui-1.7/
73 * Rename the sub-directory into "jquery.ui":
75 /sites/all/libraries/jquery.ui/
77 so the actual jQuery UI JavaScript files are located in:
79 /sites/all/libraries/jquery.ui/ui/*.js
81 * Enable the module at Administer >> Site building >> Modules.
86 Developers who wish to use jQuery UI effects in their modules need only make
87 the following changes:
89 * In your module's .info file, add the following line:
91 dependencies[] = jquery_ui
93 This will force users to have the jQuery UI module installed before they can
96 * In your module, call the following function:
98 jquery_ui_add($files);
102 jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.sortable'));
104 jquery_ui_add('ui.sortable'); // For a single file
106 See the contents of the jquery.ui-X.X sub-directory for a list of available
107 files that may be included, and see http://ui.jquery.com/docs for details on
108 how to use them. The required ui.core file is automatically included, as is
109 effects.core if you include any effects files.
115 * Daniel F. Kudwien (sun) - http://drupal.org/user/54136
118 * Jeff Robbins (jjeff)
119 * Angela Byron (webchick)