-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
30 lines (30 loc) · 1.1 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
<!-- This is a Diva instantiation example including pixel.js plugin -->
<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="build/pixel.css"/>
<link rel="stylesheet" href="build/diva.css"/>
<title>Pixel.js</title>
</head>
<body>
<div id="diva-wrapper"></div>
<script src="build/diva.js"></script>
<script src="build/plugins/download.js"></script>
<script src="build/plugins/manipulation.js"></script>
<script src="build/plugins/metadata.js"></script>
<script src="build/plugins/pixel.js"></script>
<script>
document.addEventListener('DOMContentLoaded', function ()
{
var diva = new Diva('diva-wrapper', {
objectData: "https://images.simssa.ca/iiif/manuscripts/cdn-hsmu-m2149l4/manifest.json",
plugins: [Diva.DownloadPlugin, Diva.ManipulationPlugin, Diva.MetadataPlugin, Diva.PixelPlugin]
});
}, false)
</script>
</body>
</html>