Skip to content

Parallaxie is library to build simple parallax background with multi-depth layer while scrolling.

License

Notifications You must be signed in to change notification settings

Lahphim/parallaxie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

parallaxie

Parallaxie is library to build simple parallax background with multi-depth layer while scrolling.

Freaking easy !!! just 3 steps.

1

Usage

  1. Include library.
    ...
    <script type="text/javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js"></script>
    <script type="text/javascript" src="js/parallaxie.js"></script>
    ...
  1. Create container DOM, preparing for append parallax background.
    ...
    <div id="prx-container"></div>
    ...
  1. Call library with options like this.
    ...
    $("#prx-container").parallaxie({
		backgrounds: [
			{
				path: "./images/prx-bg.png"
			},
			{
				path: "./images/prx-bg-2.png"
			},
			{
				path: "./images/prx-bg-3.png"
			}
		]
	});
    ...

Hope You Enjoy :) !!!

Author

Lahphim S. Arnon

License

Licensed under MIT.

About

Parallaxie is library to build simple parallax background with multi-depth layer while scrolling.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published