Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module provides a jQuery Cycle2 slideshow plugin for Views Slideshow, heavily based on Views Slideshow: Cycle (bundled with Views Slideshow). Modifications have been made to interface with some basic options of Cycle2, though a lot remains to be done. New options added to Cycle2's API during its beta will be accounted for where possible.
Benefits to using Cycle2 over the original Cycle are that Cycle2 natively handles responsive design and (with an optional plugin) swipe events on capable devices.
Installation
- Enable jQuery 1.7 or higher. The easiest way to do this is via the jQuery Update module (update to the latest Chaos Tools dev and jQuery Update dev to avoid issues).
- Install this module as usual
- Place jquery.cycle2.js or its minified version inside sites/all/libraries/jquery.cycle2
- Optionally, place jquery.cycle2.swipe.js inside the same folder. Other plugins will be supported in the future.
Use
When creating or editing a View using the Slideshow display mode, select the Cycle2 slideshow type in the display settings, under Slides. (The original Cycle slideshow type is not required.)
Project information
- Created by Ben Young on , updated