zoomify.html
1.49 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>StoryMap Zoomify</title>
<meta charset="utf-8">
<meta name="description" content="TimelineJS Embed">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-touch-fullscreen" content="yes">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
<!-- CSS-->
<link rel="stylesheet" href="../css/storymap.css?v1">
<!--FONT-->
<link rel="stylesheet" href="../css/fonts/font.pt.css?v1">
<!-- Style-->
<style>
html, body {
height:100%;
width:100%;
padding: 0px;
margin: 0px;
}
</style>
<!-- HTML5 shim, for IE6-8 support of HTML elements-->
<!--[if lt IE 9]>
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
</head>
<body>
<div id="storymap"></div>
<!-- JavaScript-->
<script src="../js/storymap.js"></script>
<script>
var storymap = new VCO.StoryMap('storymap', 'marktwain.json', {
map_type: "zoomify",
zoomify: {
path: "http://cdn.verite.co/maps/zoomify/gameofthrones/", //"http://cdn.verite.co/maps/zoomify_nightwatch/nightwatch/",
width: 10960, //28128,
height: 7328, //23334,
tolerance: 0.9,
attribution: "Google Search" //"Google Art Project"
}
});
window.onresize = function(event) {
storymap.updateDisplay();
}
</script>
</body>
</html>