Skip to content

A small sample javascript library for making slide effects

License

Notifications You must be signed in to change notification settings

SpiffGreen/Slidejs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 

Repository files navigation

snowfall.js

A lightweight Javascript library for creating slideshow effect, It's a toy project though :)


Author


Demo

Codepen demo
http://codepen.io/SpiffJekeyGreen/pen/dj3


Usage

Load snowfall.js and configure the snow-particles

index.html

<div id="slide-container"></div>

<script src="slideshow.js"></script>
<script src="app.js"></script>

app.js

var slider = {
    container: "slide-container",
    box: "slide-b",
    duration: 2000,
    axis: "x"
};

SlideShow(slider);

Options

key type use case example required
container string * "container" true
box string * "box" true
duration number * 2000 false
axis number * y or x true

Hosting / CDN

Please use this host or your own to load slideshow.js on your projects

http://www.jsdelivr.com/#!slideshow.js

About

A small sample javascript library for making slide effects

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published