forked from benbyford/stopmotion-lite.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
48 lines (37 loc) · 810 Bytes
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
Stopmotion-lite.js v1.1
By Ben Byford
LICENCE:
stopmotion-lite.js by Ben Byford is licensed under a Creative Commons Attribution 3.0 Unported License.
Based on a work at benbyford.com.
USEAGE:
JS – defaults: stopmotion(’#slideImages’,‘100’, ‘1’)
$(function(){
stopmotion(divID, animationSpeed, pauseButton);
//pauseButton 1 on / 0 off
});
CSS
#slideImages{
opacity: .6;
background: url('images/quality6.jpg') 0 10px no-repeat;
height: 415px;
}
#slideImages img{
padding-top: 10px;
margin: 0 auto;
display: none;
}
#slideImages img:first-child{
display: block;
}
#loading{
position: absolute;
top: 300px;
left: 49%;
z-index: 999;
}
VERSIONS:
1.1 - 29/05/2011
Added
pause/play button
Option to added/remove pause/play button
1.0 - 27/05/2011