Skip to content

bdwebteam/fallings

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

Fallings - A jQuery Parallax Plugin

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • HTML 85.4%
  • JavaScript 14.6%