-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (100 loc) · 4.02 KB
/
index.html
File metadata and controls
113 lines (100 loc) · 4.02 KB
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>InfiniteSlideScroller</title>
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.0.0/jquery.min.js"></script>
<script src="./Assets/build/js/InfiniteSlideScroller.js"></script>
<link rel="stylesheet" href="./Assets/build/css/InfiniteSlideScroller.min.css">
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,700,800,300,600' rel='stylesheet' type='text/css'>
<style>
html, body {
min-height: 100%;
margin: 0;
padding: 0;
}
body {
display: flex;
flex-direction: column;
justify-content: center;
background: #c0392b;
}
h1 {
text-align: center;
color: white;
font-family: 'Open Sans', sans-serif;
font-weight: bolder;
font-size: 45px;
margin: 25px 0 0 0;
}
h2 {
text-align: center;
color: white;
margin: 5px 0;
font-family: 'Open Sans', sans-serif;
}
h2 + p {
text-align: center;
font-family: 'Open Sans', sans-serif;
color: white;
width: 75%;
margin: 20px auto;
line-height: 40px;
}
#scroller {
border-top: 10px solid white;
border-bottom: 10px solid white;
}
#scroller img {
height: 500px;
}
.buttons {
text-align: center;
margin-top: 25px;
}
.buttons a {
display: inline-block;
width: 200px;
height: 50px;
border: 2px solid white;
border-radius: 50px;
line-height: 50px;
color: white;
text-decoration: none;
font-family: 'Open Sans', sans-serif;
margin: 20px;
transition: .2s all ease;
}
.buttons a:hover {
color: #c0392b;
background: white;
}
</style>
</head>
<body>
<a href="https://github.com/Luuka/InfiniteSlideScroller"><img style="position: absolute; top: 0; left: 0; border: 0;" src="https://camo.githubusercontent.com/567c3a48d796e2fc06ea80409cc9dd82bf714434/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f6c6566745f6461726b626c75655f3132313632312e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_left_darkblue_121621.png"></a>
<h1>InfiniteSlideScroller</h1>
<h2>lightweight JQuery infinite slide scroller plugin</h2>
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Consectetur quis repudiandae voluptatibus, nam dolorem rem hic, molestiae excepturi asperiores cum repellat magnam. Ut totam quaerat, laboriosam eos illo officiis consequuntur. Lorem ipsum dolor sit amet, consectetur adipisicing elit. Repudiandae distinctio repellendus ex nemo at iste, similique necessitatibus harum explicabo temporibus. Voluptates ratione velit soluta minima fugit ad rem quia saepe.</p>
<ul id="scroller">
<li><a href="#"><img src="./demo/SKI2016-13-small.jpg" alt=""></a></li>
<li><a href="#"><img src="./demo/SKI2016-24-small.jpg" alt=""></a></li>
<li><a href="#"><img src="./demo/SKI2016-38-small.jpg" alt=""></a></li>
<li><a href="#"><img src="./demo/SKI2016-26-small.jpg" alt=""></a></li>
<li><a href="#"><img src="./demo/SKI2016-15-small.jpg" alt=""></a></li>
</ul>
<div class="buttons">
<a href="https://github.com/Luuka/InfiniteSlideScroller/releases/download/v0.0.1/InfiniteSlideScroller-v0.0.1.zip">Download</a> <a href="#">Documentation</a>
</div>
<script type="text/javascript">
window.addEventListener('load', function(){
$('#scroller').InfiniteSlideScroller({
width: '100%',
height: '500px',
speed: 2,
gutter: 0
});
});
</script>
</body>
</html>