forked from artpolikarpov/fotorama
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
70 lines (58 loc) · 1.48 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
<!DOCTYPE html>
<html>
<head>
<title>Fotorama</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<meta http-equiv="x-ua-compatible" content="IE=edge" />
<meta name="msapplication-tap-highlight" content="no" />
<style type="text/css">
body {
margin: 0;
overflow: hidden;
}
.fotorama__html {
font-family: sans-serif;
font-size: 64px;
font-size: 40vw;
line-height: 1;
text-align: center;
display: table-row;
text-transform: uppercase;
letter-spacing: .1em;
}
.fotorama__html > div {
position: relative;
top: 50%;
margin-top: -.5em;
}
.fotorama .fotorama__dot {
border-color: #000;
}
.fotorama .fotorama__active .fotorama__dot {
background-color: #000;
}
</style>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width">
<!-- jQuery, -->
<script src="test/jquery/jquery-1.10.2.min.js"></script>
<!-- Fotorama -->
<link href="out/fotorama.css" rel="stylesheet">
<script src="out/fotorama.js"></script>
<script type="text/javascript">
$(function () {
$('.fotorama')
.on('fotorama:ready', function (e, fotorama) {
fotorama.show({index: 2, time: 0});
})
.fotorama();
})
</script>
</head>
<body>
<div class="fotorama" data-auto="false" data-width="100%" data-height="100%">
<div>Fo</div><div>to</div><div>ra</div><div>ma</div>
</div>
</body>
</html>