Skip to content
Fallings - A jQuery Parallax Plugin
Branch: master
Clone or download
Latest commit 2478819 Mar 13, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
dist fixing unnecessary comments Jan 12, 2017
docs updating directory paths Mar 7, 2017
src fixing unnecessary comments Jan 12, 2017
.babelrc Updates to how code is generated Jan 11, 2017
.editorconfig Updates to how code is generated Jan 11, 2017
.eslintrc Updates to how code is generated Jan 11, 2017
.gitignore first pass at cleaning up repository without modifying plugin code Jan 5, 2017
.jshintrc initial commit Apr 6, 2014
.nojekyll Bypassing jekyll Mar 13, 2017
Gruntfile.js first pass at cleaning up repository without modifying plugin code Jan 5, 2017
README.md Updates to how code is generated Jan 11, 2017
index.html
package.json fixing unnecessary comments Jan 12, 2017
webpack.config.babel.js
yarn.lock Updates to how code is generated Jan 11, 2017

README.md

#Fallings A jQuery parallax plugin focusing on manipulating position: absolute elements based on the window.scrollTop() property.

Currently newly supported code is being ported to the jquery_dist.*.js file structure via new build structures. This is a work in progress and leaves the past iteration 100% intact.

##Parameters

velocity

  • default: 0;
  • controls speed of movement relative to scroll;

initialPosition

  • default: 0;
  • defines the "top" attribute of the element;

bgParallax

  • default: false;
  • switch the plugin from focusing on the element to the background property;

bgPercent

  • default: "0%";
  • x-position of background;

onClass

  • default: "fallings-visible";
  • class when the object is fully in window;

offClass

  • default: "fallings-invisible";
  • class when the object is fully NOT in window;

Defaults

{
  velocity: 0,
  initialPosition: 0,
  bgParallax: false,
  bgPercent: '0%',
  onClass: 'fallings-visible',
  offClass: 'fallings-invisible',
};

##Support Any questions or issues should be submitted through GitHub Issues -> here

You can’t perform that action at this time.