-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (106 loc) · 4.6 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Demo-slajder-responsly</title>
<link rel="stylesheet" href="slidy/slidy.css">
</head>
<body>
<h4>Demo</h4>
<h5>Podpowiedź, że możesz użyć klawiszy lewo/prawo</h5>
<div id="slidyBanner" class="slidyContainer" title="Your tooltip text">
<div class="slidySlides">
<!-- Each slide is wrapped in figure section -->
<!-- Slide 1 -->
<!-- add the 'slidyCurrent' class to which slide you want as default -->
<figure class="slidyCurrent">
<!-- Your context goes here -->
<img alt="Uyuni, Bolivia" src="img/banner/16%20Uyuni%20Salt%20Flats%20-%2061%20-%20Banner.jpg">
<!-- Use the figcaption element to add captions -->
<br/>
<figcaption>An Image</figcaption>
</figure>
<!-- Slide 2 -->
<figure>
<img alt="Shanghai, China" src="img/banner/2%20Shanghai%20-%2038%20-%20Banner.jpg">
<figcaption>Another image</figcaption>
</figure>
<!-- Slide 3 -->
<figure>
<div style="margin:3em 2em">
<h3> I am some text</h3>
<h4> Your not limited to images, you can have what ever you want </h4>
<h4> Press next to see how to wire this baby up </h4>
</div>
<figcaption>Text</figcaption>
</figure>
<!-- Add more slides as necessary -->
<figure>
<div style="margin:3em 2em">
<h4>Add references, make sure jQuery is available</h4>
<pre><code>
<link rel="stylesheet" href="slidy.css">
<script src="slidy.js"></script>
</code></pre>
<figcaption>Step 1</figcaption>
</div>
</figure>
<figure>
<div style="margin:3em 2em">
<h4>Add boilerplate HTML to wherever your want the slideshow. This is usually some responsive container</h4>
<pre><code>
<div id="slidyBanner" class="slidyContainer" title="Your tooltip text"<
<div class="slidySlides">
<!-- Each slide is wrapped in figure section -->
<!-- Slide 1 -->
<!-- add the 'slidyCurrent' class to which slide you want as default -->
<figure class="slidyCurrent">
<!-- Your context goes here -->
<img alt="Uyuni, Bolivia" src="img/banner/16 Uyuni Salt Flats - 61 - Banner.jpg">
<!-- Use the figcaption element to add captions -->
<figcaption>An Image</figcaption>
</figure>
<!-- Slide 2 -->
<figure>
<img alt="Shanghai, China" src="img/banner/2 Shanghai - 38 - Banner.jpg">
<figcaption>Another image</figcaption>
</figure>
<!-- Slide 3 -->
<figure>
<p> I am some text</p>
<p> Your not limited to images, you can have what ever you want </p>
<figcaption>Text</figcaption>
</figure>
<!-- Add more slides as necessary -->
</div>
</div>
</code></pre>
</div>
<figcaption>Step 2</figcaption>
</figure>
<figure>
<div style="margin:3em 2em">
<h4>Wire up with options</h4>
<pre><code>
$('.slidyContainer').slidy({
// Options go here, see slidy.js
// These the defaults so don't only need to be specified if they are changed
throttle: false, // Set to true, and include jQuery throttle plugin (http://benalman.com/projects/jquery-throttle-debounce-plugin/)
throttleTime: 500, // number of ms to wait for throttling
showArrows: true, // Show arrows for next/prev image
movePrev: 'movePrev', // Div id to use for previous button
moveNext: 'moveNext', // Div id to use for next button
useKeybord: true, // use keys defined below to expand / collapse sections
auto: false, // Start slideshow automatically
interval: 6000, // Time between each slide
initialInterval: 10000 // Initial interval when page loads
});
</code></pre>
</div>
<figcaption>Step 3</figcaption>
</figure>
</div>
</div>
<script type="module" src="src/app.js"></script>
</body>
</html>