-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
executable file
·64 lines (62 loc) · 1.81 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>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<link rel="stylesheet" type="text/css" href="mirador/css/mirador-combined.css">
<title>Mirador 2 Viewer</title>
<style type="text/css">
#viewer {
width: 100%;
height: 100%;
position: absolute;
}
#viewerContainer {
width: 100%;
margin: 0 auto;
}
</style>
</head>
<body>
<!-- <h2>My Mirador Viewer</h2> -->
<div id="viewerContainer">
<div id="viewer"></div>
</div>
<script src="mirador/mirador.min.js"></script>
<script type="text/javascript">
$(function() {
myMiradorInstance = Mirador({
id: "viewer",
// layout: "1x2",
buildPath: "mirador/",
data: [
{ manifestUri: "./manifests/manifest.json", location: "UCLA Library"},
{ manifestUri: "./manifests/manifest_image.json", location: "UCLA Library"},
],
mainMenuSettings: {
userLogo: {
label: "Mirador 2 Viewer",
}
},
openManifestsPage: true,
windowSettings: {
availableViews : ['ThumbnailsView', 'ImageView', 'ScrollView', 'BookView'],
plugins : {
physicalRuler: true,
imageManip: { "plugin": 'imageManip', "label": 'imageEdit', showImageEdit: true }
} },
// windowObjects: [
// {
// loadedManifest: "https://dawnchildress.com/toganoo/manifests/toganoo_1.json",
// viewType: "ScrollView",
// slotAddress: "row1.column1"
// }],
annotationEndpoint: {
name: "Local Storage",
module: "LocalStorageEndpoint"
}
});
});
</script>
</body>
</html>