Simple Parallax JS
No security coverage
This module allows you to add parallax scrolling effects to images on your Drupal website by integrating the simpleParallax.js library. It provides a "Simple Parallax" formatter for image and media fields, enabling easy configuration for image parallax animations.
Use SimpleParallax to add parallax effects to images in your Drupal website.
simpleParallax.js is a lightweight and easy-to-use JS & React library that adds parallax animations to any image.
Features
A "Simple Parallax" image formatter compatible with image and media entities.
Installation
Module Installation
Install as you would normally install a contributed Drupal module. For further
information, see Installing Drupal Modules
simpleParallax.js library installation
Composer (recommended)
- Enable usage of third-party libraries using composer, see here for an explanation.
- Require the simple-parallax-js library using composer require npm-asset/simple-parallax-js:^6.0
- Require the module using composer require drupal/simple_parallax
- Install the module
- Then simply configure your image fields to use Simple Parallax as their field display formatter