-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
100 lines (91 loc) · 2.78 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
<!DOCTYPE html>
<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>Photo Tiles Demo</title>
<meta name="description" content="">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="assets/css/photo-tiles.min.css">
<link href="assets/images/favicon.ico" rel="icon" type="image/png">
<style>
.demo-title {
position: absolute;
top: 0;
color: white;
opacity: .75;
text-shadow: 0.1em 0.1em 0.5em black;
z-index: 10;
font-family: sans-serif;
transition: .3s ease-in-out;
cursor: pointer;
width: 100%;
text-align: center;
}
.demo-title:hover {
opacity: 1
}
.controls {
position: fixed;
border-radius: 0.5em;
bottom: 0;
right: 0;
margin: 0;
z-index: 1;
padding: 1em;
}
.controls>button {
font-family: sans-serif;
background-color: black;
outline: none;
border: 1px solid white;
color: white;
opacity: .7;
cursor: pointer;
font-size: 1em;
transition: .3s ease-in-out;
}
.controls>button:hover {
opacity: 1;
}
</style>
</head>
<body>
<!--[if lt IE 7]>
<p class="browsehappy">You are using an <strong>outdated</strong> browser. Please <a href="#">upgrade your browser</a> to improve your experience.</p>
<![endif]-->
<h1 class="demo-title" onclick="window.location='https://github.com/varararun/photo-tiles';">Photo Tiles Demo</h1>
<div class="controls">
<button onclick="PhotoTiles.toggleExecution();">Play/Pause</button>
<button onclick="PhotoTiles.initialize({demoMode:true})">Create</button>
<button onclick="PhotoTiles.reset();">Destroy</button>
</div>
<div class="photo-tiles-container"></div>
<script type="text/javascript" src="assets/js/photo-tiles.min.js"></script>
<script>
PhotoTiles.initialize({
demoMode: true
});
</script>
<script>
(function (i, s, o, g, r, a, m) {
i['GoogleAnalyticsObject'] = r;
i[r] = i[r] || function () {
(i[r].q = i[r].q || []).push(arguments)
}, i[r].l = 1 * new Date();
a = s.createElement(o),
m = s.getElementsByTagName(o)[0];
a.async = 1;
a.src = g;
m.parentNode.insertBefore(a, m)
})(window, document, 'script', 'https://www.google-analytics.com/analytics.js', 'ga');
ga('create', 'UA-88384820-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>