Socket
Book a DemoInstallSign in
Socket

goodparallax

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

goodparallax

Very simple and easy to use parallax animation plugin.

1.0.4
Source
npmnpm
Version published
Weekly downloads
1
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

GoodParallax

Very simple and easy to use parallax animation plugin.

Demo

Please, watch demo here: Demo

Features

  • No jQuery. Plugin was written only on JavaScript;
  • Smooth working;
  • Very easy to set up and customize;
  • It's OpenSorce. Free to use for commercial and non-comercial projects.

How to use

<script src="js/GoodParallax.js"></script>
  • And start the plugin
new GoodParallax ().init ();
Of course, You can use package managers:
  • From NPM:
npm install GoodParallax
In the next, we need to set the background image in the block:
 <section class="parallax" data-img="img/path_to_your_image"></section>

Customize The Plugin

You can change the parallax speed or Turn On the plugin on the mobile devices.

new GoodParallax ().init ({
    speed: 5.0
});
Avalaible Options
KeyDefault valueDescription
speed3.0Set the parallax animation speed
workOnMobilefalseTurn on/off animation on mobile devices

In the future, I will add more cool features :)

Keywords

parallax

FAQs

Package last updated on 29 Aug 2015

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.