Lightbox2 Swipe Gestures Support

Component ID

1959372

Component name

Lightbox2 Swipe Gestures Support

Component type

module

Maintenance status

Development status

Component security advisory coverage

covered

Downloads

3020

Component created

Component changed

Component body

Adds swipe gesture support for Lightbox2. This makes a lot of sense on mobile or responsive pages, because the "Next" an "Prev" Buttons are only visible on hover.

Description

Adds swipe gesture support to the well known Lightbox2 module for mobiles. Just swipe left or right on galeries to show the previous or next element!

Dependencies:

Installation:

  1. Download and enable this module.
  2. Download jquery.event.move and jquery.event.swipe from the Project Page and extract them as separate folders to sites/{all}/libraries/ (folder names: "jquery.event.swipe" and "jquery.event.move". (>= 7.x-2.x)
  3. Enable jQuery 1.7 (or higher) in jQuery Update settings ("admin/config/development/jquery_update"). Notice: In our tests 1.7 worked with fewest problems. 1.8 and others are also possible. BUT: Please check if there are bad side effects in your environment!

Demo:

The lightbox galleries on our website http://www.webks.de use the swipe gesture support. Please try if they work on your device / browser correctly before posting a device error. If they work and on your Drupal website don't work, you've made a mistake perhaps.

Thanks:

Thanks to the following projects that were utilitized:

So thank you @stephband!

Development proudly sponsored by:

webks: websolutions kept simple (http://www.webks.de)
and
DROWL: Drupalbasierte Lösungen aus Ostwestfalen-Lippe (http://www.DROWL.de)