Swipeable Magnific Popup

Component ID

2804379

Component name

Swipeable Magnific Popup

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

Introduction

Make Jay Dansand's Magnific Popup module
swipeable using Matt Bryson's TouchSwipe jQuery plugin.

Important

The solely goal of this module is to make Magnific Popups swipeable without the need of any custom coding.
Currently, it accomplishes this by the help of the TouchSwipe jQuery plugin. However, if there are better and smoother solutions in the future, this may change in this module as well.

Installation

This module requires Libraries and obviously Magnific Popup itself.

Install the third-party TouchSwipe jQuery plugin from https://github.com/mattbryson/TouchSwipe-Jquery-Plugin
under sites/SITE/libraries (where SITE is "all," "default," etc.)
To be correctly detected and used, the JS must be located at following path:

  • libraries/touch_swipe/jquery.touchSwipe.min.js

Enable the Swipeable Magnific Popup module and you're good to go!

Similar Modules

jQuery touch swipe: Brings the jQuery touch swipe events into Drupal. More flexible and not only limited to the Magnific Popup but custom coding will be required!

Credits

Supporting organizations:
Liip: Initial development, maintenance, support