-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
93 lines (80 loc) · 2.47 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!DOCTYPE html>
<html>
<head>
<title>tour-PureJS</title>
<meta charset="utf-8">
<link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css" rel="stylesheet">
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
<link rel="stylesheet" href="css/tour.css">
<script src="js/tour.js" type="text/javascript"></script>
</head>
<body>
<div style="color: white; text-align: center">
<h1>Tour.js</h1>
<p>Puere javascript slider with powerful API</p>
</div>
<div class="container" style="padding: 5px;">
<div class="tour slide">
<!-- Indicators -->
<ol class="tour-indicators">
<li class="active"></li>
<li></li>
<li></li>
<li></li>
<li></li>
</ol>
<!-- Wrapper for slides -->
<div class="tour-inner" role="listbox">
<div class="item active">
<img src="slider/slider01.jpg" alt="...">
<div class="tour-caption">
<h2>Tour.js</h2>
<p>Pure javascript slider</p>
</div>
</div>
<div class="item">
<img src="slider/slider02.jpg" alt="...">
<div class="tour-caption">
<h2>Tour.js</h2>
<p>Pure javascript slider</p>
</div>
</div>
<div class="item">
<img src="slider/slider03.jpg" alt="...">
<div class="tour-caption">
<h2>Tour.js</h2>
<p>Pure javascript slider</p>
</div>
</div>
<div class="item">
<img src="slider/slider04.jpg" alt="...">
<div class="tour-caption">
<h2>Tour.js</h2>
<p>Pure javascript slider</p>
</div>
</div>
<div class="item">
<img src="slider/slider05.jpg" alt="...">
<div class="tour-caption">
<h2>Tour.js</h2>
<p>Pure javascript slider</p>
</div>
</div>
</div>
<!-- Controls -->
<a class="left tour-control" role="button" data-slide="prev">
<span><i class="fa fa-chevron-left" aria-hidden="true"></i></span>
</a>
<a class="right tour-control" role="button" data-slide="next">
<span><i class="fa fa-chevron-right" aria-hidden="true"></i></span>
</a>
</div>
</div>
<script>
document.addEventListener('DOMContentLoaded', function () {
document.removeEventListener('DOMContentLoaded', arguments.calee);
console.log(tour('.tour').apply({"delay": 6000}));
});
</script>
</body>
</html>