openseadragon/test/demo/m2/index.html

79 lines
2.1 KiB
HTML
Raw Normal View History

2015-01-09 00:22:23 +03:00
<!DOCTYPE html>
<html>
<head>
<title>Mirador POC</title>
<script type="text/javascript" src='../../../build/openseadragon/openseadragon.js'></script>
<script type="text/javascript" src='../../lib/jquery-1.9.1.min.js'></script>
<script src="//d3js.org/d3.v3.min.js" charset="utf-8"></script>
2015-01-09 00:22:23 +03:00
<script src="js/main.js"></script>
2015-02-04 21:18:36 +03:00
<!-- <script src="js/harvard-tilesources.js"></script> -->
<script src="js/openseadragon-svg-overlay.js"></script>
2015-01-09 00:22:23 +03:00
<style type="text/css">
html,
body {
width: 100%;
height: 100%;
margin: 0;
2015-01-09 22:45:53 +03:00
}
body {
2015-01-09 00:22:23 +03:00
background: #eee;
2015-01-09 22:45:53 +03:00
overflow: scroll;
}
.header {
height: 30px;
2015-01-09 00:22:23 +03:00
}
.nav {
display: inline-block;
margin-left: 50px;
}
.active {
background: #ddf;
}
.hidden {
visibility: hidden;
}
.openseadragon1 {
2015-01-09 22:45:53 +03:00
background: white;
}
2015-01-21 03:10:24 +03:00
.viewer-position {
2015-01-09 00:22:23 +03:00
position: absolute;
left: 0;
top: 30px;
right: 0;
bottom: 0;
2015-01-09 22:45:53 +03:00
}
2015-01-21 03:10:24 +03:00
.scroll-cover {
display: none;
overflow: scroll;
z-index: 100;
2015-01-09 00:22:23 +03:00
}
</style>
</head>
<body>
<div class="header">
<button class="thumbs">Thumbnails</button>
<button class="scroll">Scroll</button>
<button class="book">Book</button>
<button class="page">Page</button>
<div class="nav">
<button class="previous">Previous</button>
<button class="next">Next</button>
</div>
</div>
2015-01-21 03:10:24 +03:00
<div id="contentDiv" class="openseadragon1 viewer-position"></div>
<div class="scroll-cover viewer-position">
<div class="scroll-inner"></div>
</div>
2015-01-09 00:22:23 +03:00
</body>
</html>