An easy-to-use parallax plugin justParallax.js
Add-ons

Plugin description: justParallax.js is a lightweight JavaScript plugin that allows users to add subtle parallax effects to webpage backgrounds with just 2 lines of code.
justParallax.js supports multiple browsers, including IE6+, Google Chrome, Mozilla Firefox, Safari, Opera, and more!
New feature! When a target element is positioned below the current viewport, the parallax effect waits until the element enters the screen before being triggered.
Customizable settings:
target: The target element to which the parallax effect is applied.
speed: This setting defines the scrolling speed of the background.
vertical: Defines whether the background should scroll vertically.
vertical_inversed: Defines whether vertical scrolling should be reversed.
horizontal: Defines whether the background should scroll horizontally.
horizontal_inversed: Defines whether horizontal scrolling should be reversed.
评论