/fallings

Fallings - A jQuery Parallax Plugin

Primary LanguageJavaScript

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

##Usage

  • 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;

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