-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
64 lines (47 loc) · 2.14 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=1024" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<title>impress.js | presentation tool based on the power of CSS3 transforms and transitions in modern browsers | by Bartek Szopka @bartaz</title>
<meta name="description" content="impress.js is a presentation tool based on the power of CSS3 transforms and transitions in modern browsers and inspired by the idea behind prezi.com." />
<meta name="author" content="Bartek Szopka" />
<link href="http://fonts.googleapis.com/css?family=Open+Sans:regular,semibold,italic,italicsemibold|PT+Sans:400,700,400italic,700italic|PT+Serif:400,700,400italic,700italic" rel="stylesheet" />
<link href="Demo/css/impress-demo.css" rel="stylesheet" />
<link rel="shortcut icon" href="Demo/images/favicon.png" />
<link rel="apple-touch-icon" href="Demo/images/apple-touch-icon.png" />
<script type="text/javascript" src="elm.js"></script>
</head>
<body>
</body>
<script>
var ua = navigator.userAgent.toLowerCase(),
body = document.body;
var supported = document.createElement("dummy").style.perspective !== null &&
body.classList &&
body.dataset &&
ua.search(/(iphone)|(ipod)|(android)/) === -1;
// supported = !supported
if (supported) {
var meta = document.querySelector("meta[name='viewport']") ||
document.createElement("meta");
meta.content = "width=device-width, minimum-scale=1, maximum-scale=1, user-scalable=no";
if (meta.parentNode !== document.head) {
meta.name = 'viewport';
document.head.appendChild(meta);
}
document.documentElement.style.height = "100%";
body.style.heigth = "100%";
body.style.overflow = "hidden";
}
document.addEventListener("keydown", function ( event ) {
if (event.keyCode === 9) event.preventDefault();
}, false);
var elmImpress = Elm.fullscreen(Elm.Main, {
impressSupported : supported,
hashFromAddressBar : window.location.hash,
pathName : window.location.pathname
});
</script>
</html>