-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
65 lines (60 loc) · 2.24 KB
/
index.html
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
<style>
div.container{
}
.ilmList{
padding: 0;
margin: 0;
}
.ilmList li{
list-style: none;
float: left;
margin: 0;
padding: 0;
background: transparent url('images/loader.gif') center no-repeat;
}
.ilmList img{
width: 100%;
}
.main_container{
position: relative;
display: inline-block;
}
</style>
<script src="jquery-3.3.1.min.js"></script>
<script src="script.js"></script>
<div class="main_container">
<div class="container"></div>
</div>
<button class="play" type="button">Play</button> <button class="pause" type="button">Pause</button><button class="previous" type="button">Previous</button>
<button class="next" type="button">Next</button>
<script>
$("div.container").ilmSpin({
src: "images/images_{frame}.jpg",
width: "600px",
height: "400px",
speed: 100,
frames: 35,
play: "play",
pause: "pause",
previous: "previous",
next: "next",
reverse: true,
icons: [{id: 1, path: 'images/plus.png', html: '<h1>This is Sample text</h1>'}],
iconsPosition: [
{imageid: 1, frame: 1, top: 58, left: 23.5, display: true},
{imageid: 1, frame: 2, top: 57, left: 25, display: true},
{imageid: 1, frame: 3, top: 56, left: 27, display: true},
{imageid: 1, frame: 4, top: 56, left: 28.2, display: true},
{imageid: 1, frame: 5, top: 56, left: 30, display: true},
{imageid: 1, frame: 6, top: 55, left: 34, display: true},
{imageid: 1, frame: 28, top: 64, left: 41, display: true},
{imageid: 1, frame: 29, top: 64, left: 36, display: true},
{imageid: 1, frame: 30, top: 64, left: 32, display: true},
{imageid: 1, frame: 31, top: 63, left: 29, display: true},
{imageid: 1, frame: 32, top: 62, left: 26, display: true},
{imageid: 1, frame: 33, top: 61, left: 24, display: true},
{imageid: 1, frame: 34, top: 60, left: 23, display: true},
{imageid: 1, frame: 35, top: 59, left: 22.5, display: true}
]
});
</script>