You are here

README.txt in jQuery UI 6

Same filename and directory in other branches
  1. 8 README.txt
  2. 5 README.txt
  3. 7 README.txt
-- 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 directory:

    /sites/all/libraries/jquery.ui-1.6.zip

* Extract the archive.  This will create the following sub-directory:

    /sites/all/libraries/jquery.ui-1.6/

* Rename the sub-directory into "jquery.ui":

    /sites/all/libraries/jquery.ui/

  so the actual jQuery UI JavaScript files are located in:

    /sites/all/libraries/jquery.ui/ui/*.js

* Enable the module at Administer >> Site building >> Modules.


-- JQUERY UI 1.7 --

The jQuery UI module uses jQuery UI 1.6 because jQuery UI 1.7 requires at least
jQuery 1.3, which is not shipped with Drupal 6. If you absolutely need to move
to jQuery UI 1.7, you can get around this by doing the following:

* Download and install the corresponding jQuery Update module from:

    http://drupal.org/project/jquery_update

* Download the latest jQuery UI 1.7 release from:

    http://code.google.com/p/jquery-ui/downloads/list?q=1.7

* Put the downloaded archive into the directory:

    /sites/all/libraries/jquery-ui-1.7.zip

* Extract the archive.  This will create the following sub-directory:

    /sites/all/libraries/jquery-ui-1.7/

* Rename the sub-directory into "jquery.ui":

    /sites/all/libraries/jquery.ui/

  so the actual jQuery UI JavaScript files are located in:

    /sites/all/libraries/jquery.ui/ui/*.js

* Enable the module at Administer >> Site building >> Modules.


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


-- CREDITS --

Current maintainer:
* Daniel F. Kudwien (sun) - http://drupal.org/user/54136

Original authors:
* Jeff Robbins (jjeff)
* Angela Byron (webchick)

File

README.txt
View source
  1. -- SUMMARY --
  2. jQuery UI (http://ui.jquery.com/) is a set of cool widgets and effects that
  3. developers can use to add some pizazz to their modules.
  4. This module is more-or-less a utility module that should simply be required by
  5. other modules that depend on jQuery UI being available. It doesn't do anything
  6. on its own.
  7. For a full description of the module, visit the project page:
  8. http://drupal.org/project/jquery_ui
  9. To submit bug reports and feature suggestions, or to track changes:
  10. http://drupal.org/project/issues/jquery_ui
  11. -- REQUIREMENTS --
  12. * The jQuery UI library.
  13. -- INSTALLATION --
  14. * Copy the jquery_ui module directory to your sites/all/modules directory, so it
  15. is located in sites/all/modules/jquery_ui/.
  16. * Download the jQuery UI 1.6 release from:
  17. http://code.google.com/p/jquery-ui/downloads/list?q=1.6
  18. * Put the downloaded archive into the directory:
  19. /sites/all/libraries/jquery.ui-1.6.zip
  20. * Extract the archive. This will create the following sub-directory:
  21. /sites/all/libraries/jquery.ui-1.6/
  22. * Rename the sub-directory into "jquery.ui":
  23. /sites/all/libraries/jquery.ui/
  24. so the actual jQuery UI JavaScript files are located in:
  25. /sites/all/libraries/jquery.ui/ui/*.js
  26. * Enable the module at Administer >> Site building >> Modules.
  27. -- JQUERY UI 1.7 --
  28. The jQuery UI module uses jQuery UI 1.6 because jQuery UI 1.7 requires at least
  29. jQuery 1.3, which is not shipped with Drupal 6. If you absolutely need to move
  30. to jQuery UI 1.7, you can get around this by doing the following:
  31. * Download and install the corresponding jQuery Update module from:
  32. http://drupal.org/project/jquery_update
  33. * Download the latest jQuery UI 1.7 release from:
  34. http://code.google.com/p/jquery-ui/downloads/list?q=1.7
  35. * Put the downloaded archive into the directory:
  36. /sites/all/libraries/jquery-ui-1.7.zip
  37. * Extract the archive. This will create the following sub-directory:
  38. /sites/all/libraries/jquery-ui-1.7/
  39. * Rename the sub-directory into "jquery.ui":
  40. /sites/all/libraries/jquery.ui/
  41. so the actual jQuery UI JavaScript files are located in:
  42. /sites/all/libraries/jquery.ui/ui/*.js
  43. * Enable the module at Administer >> Site building >> Modules.
  44. -- API --
  45. Developers who wish to use jQuery UI effects in their modules need only make
  46. the following changes:
  47. * In your module's .info file, add the following line:
  48. dependencies[] = jquery_ui
  49. This will force users to have the jQuery UI module installed before they can
  50. enable your module.
  51. * In your module, call the following function:
  52. jquery_ui_add($files);
  53. For example:
  54. jquery_ui_add(array('ui.draggable', 'ui.droppable', 'ui.sortable'));
  55. jquery_ui_add('ui.sortable'); // For a single file
  56. See the contents of the jquery.ui-X.X sub-directory for a list of available
  57. files that may be included, and see http://ui.jquery.com/docs for details on
  58. how to use them. The required ui.core file is automatically included, as is
  59. effects.core if you include any effects files.
  60. -- CREDITS --
  61. Current maintainer:
  62. * Daniel F. Kudwien (sun) - http://drupal.org/user/54136
  63. Original authors:
  64. * Jeff Robbins (jjeff)
  65. * Angela Byron (webchick)