This project is not covered by Drupal’s security advisory policy.

This project is abandoned and will not be maintained.

This is a wrapper module for the jQTouch jQuery plugin. This module does nothing as is, it only provides a set of tools to easily work with the jQTouch plugin.

This module was partially sponsored by Human Bits

Disclaimer

This module is in an early development stage. It is not intended to be used in productions sites. Use with caution.

Dependencies

The jQTouch module has the following dependencies:

  • jQuery update. The jQTouch plugin relies on jQuery 1.3.2+
  • jQ. jQ is used as a central plugin repo. This is not a dependency but a recommended module to work with.
  • Libraries API.

How to use it

  1. Download and install as usual.
  2. Download jQTouch and extract it in your libraries folder. It should be either sites/all/libraries or sites/<domain>/libraries. Rename the created folder to jqtouch. You should end up having a path like sites/all/libraries/jqtouch/jqtouch/jqtouch.js.
  3. Make sure the plugin is enabled in the jQ configuration page (admin/settings/jq). If you are using jQ.
  4. There are a few different ways to include the plugin:
    • If you are using jQ: Add the plugin to your module via jq_add('jqtouch').
    • If you are not using jQ include the required files by using jqtouch_add($options). Check out the code documentation to find out more about the options.
    • Alternatively you can add the library manually using drupal_add_js and drupal_add_css getting the files to include by executing $info = _jqtouch_plugin_info() and using $info['files']['js'] and $info['files']['css'].
  5. Optionally you can switch the jQTouch theme on the configuration page (admin/settings/jqtouch). You can add or install new themes in the jqtouch library folder.

Project information

Releases