-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathfull_page_slideshow.html
More file actions
138 lines (123 loc) · 4.09 KB
/
full_page_slideshow.html
File metadata and controls
138 lines (123 loc) · 4.09 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
<script src="https://code.jquery.com/jquery-2.2.3.min.js" integrity="sha256-a23g1Nt4dtEYOj7bR+vTu7+T8VP13humZFBJNIYoEJo=" crossorigin="anonymous"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0mSbJDEHialfmuBBQP6A4Qrprq5OVfW37PRR3j5ELqxss1yVqOtnepnHVP9aJ7xS" crossorigin="anonymous"></script>
</head>
<style>
#carousel-example-generic {height: 100%}
.item {
height: 100%;
}
.item .item-liner {
background-color: red;
height: 100%;
width: 100%;
display: -webkit-box;
display: -webkit-flex;
display: -moz-box;
display: -ms-flexbox;
display: flex;
-webkit-flex-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
justify-content: center;
}
.item .item-liner img.portrait {
max-height: 100%;
}
.item .item-liner img.landscape {
max-width : 100%;
}
.item .item-liner img.square{
max-width : 100%;
max-height: 100%;
}
</style>
<body>
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel" data-interval="false">
<!-- Indicators -->
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
<li data-target="#carousel-example-generic" data-slide-to="3"></li>
<li data-target="#carousel-example-generic" data-slide-to="4"></li>
<li data-target="#carousel-example-generic" data-slide-to="5"></li>
<li data-target="#carousel-example-generic" data-slide-to="6"></li>
</ol>
<!-- Wrapper for slides -->
<div class="carousel-inner" role="listbox">
<div class="item active">
<div class="item-liner">
<img src="./imgs/4x3_s_portrait.png" class="portrait" alt="...">
<div class="carousel-caption">
Small 4x3 portrait
</div>
</div>
</div>
<div class="item">
<div class="item-liner">
<img src="./imgs/4x3_s_landscape.png" class="landscape" alt="...">
<div class="carousel-caption">
Small 4x3 landscape
</div>
</div>
</div>
<div class="item">
<div class="item-liner">
<img src="./imgs/4x3_l_landscape.png" class="landscape" alt="...">
<div class="carousel-caption">
Large 4x3 landscape
</div>
</div>
</div>
<div class="item">
<div class="item-liner">
<img src="./imgs/4x3_l_portrait.png" class="portrait" alt="...">
<div class="carousel-caption">
Large 4x3 portrait
</div>
</div>
</div>
<div class="item">
<div class="item-liner">
<img src="./imgs/2x1_l_landscape.png" class="landscape" alt="...">
<div class="carousel-caption">
Large 2x1 landscape
</div>
</div>
</div>
<div class="item">
<div class="item-liner">
<img src="./imgs/2x1_l_portrait.png" class="portrait" alt="...">
<div class="carousel-caption">
Large 2x1 portrait
</div>
</div>
</div>
<div class="item">
<div class="item-liner">
<img src="./imgs/1x1_l.png" class="square" alt="...">
<div class="carousel-caption">
Large square
</div>
</div>
</div>
</div>
<!-- Controls -->
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</body>
</html>