Skip to content
Snippets Groups Projects
README.txt 1.26 KiB
Newer Older
Andrew Yustyk's avatar
Andrew Yustyk committed
This module integrate the GSAP javascript library with Drupal through the
Libraries API.
Andrew Yustyk's avatar
Andrew Yustyk committed
GSAP is a powerful, high-performance javascript animation library for the web.
This module is intended to be an API module for developers.
Andrew Yustyk's avatar
Andrew Yustyk committed
The main aim is to integrate GSAP with the Libraries API to manage it
efficiently as a project dependency
Andrew Yustyk's avatar
Andrew Yustyk committed

Dependencies:
Drupal 7.x core
Libraries Api (https://www.drupal.org/project/libraries)
Andrew Yustyk's avatar
Andrew Yustyk committed
GSAP library (https://github.com/greensock/GreenSock-JS/)
Andrew Yustyk's avatar
Andrew Yustyk committed

Note: this module is developing with GSAP library v.1.18.2.

Installation:
Andrew Yustyk's avatar
Andrew Yustyk committed
  - Install GSAP module as usual Drupal module.
Andrew Yustyk's avatar
Andrew Yustyk committed
  - Download GSAP library from Official site (http://greensock.com/gsap") or
    GitHub (https://github.com/greensock/GreenSock-JS/) and unpack archive to
    your libraries directory (/sites/all/libraries by default).
    Rename folder with library to 'gsap', so in the default case you should
    have next path to js files:
Andrew Yustyk's avatar
Andrew Yustyk committed
   /sites/all/libraries/gsap/src/minified/TweenLite.min.js
Andrew Yustyk's avatar
Andrew Yustyk committed
  - Or you can install GSAP library via drush with command 'drush gsap-install'.
Andrew Yustyk's avatar
Andrew Yustyk committed

Andrew Yustyk's avatar
Andrew Yustyk committed
Useful documentation and articles about GSAP library:
  - GSAP Homepage - https://greensock.com/
  - GSAP Documentation - http://greensock.com/docs/#/HTML5/
  - GSAP Getting Started - http://greensock.com/get-started-js