Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
- Download and install as usual.
- Download jQTouch and extract it in your libraries folder. It should be either
sites/all/libraries
orsites/<domain>/libraries
. Rename the created folder to jqtouch. You should end up having a path likesites/all/libraries/jqtouch/jqtouch/jqtouch.js
. - Make sure the plugin is enabled in the jQ configuration page (admin/settings/jq). If you are using jQ.
- 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
anddrupal_add_css
getting the files to include by executing$info = _jqtouch_plugin_info()
and using$info['files']['js']
and$info['files']['css']
.
- If you are using jQ: Add the plugin to your module via
- 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
- Unsupported
Not supported (i.e. abandoned), and no longer being developed. Learn more about dealing with unsupported (abandoned) projects - Obsolete
Use of this project is deprecated. - Module categories: Developer Tools, Integrations
- Created by e0ipso on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.