2013-06-28 23:44:38 +04:00
|
|
|
<!DOCTYPE html>
|
2013-05-20 21:44:36 +04:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>OpenSeadragon Basic Demo</title>
|
2013-06-11 04:23:09 +04:00
|
|
|
<script type="text/javascript" src='../../build/openseadragon/openseadragon.js'></script>
|
|
|
|
<script type="text/javascript" src='../lib/jquery-1.9.1.min.js'></script>
|
2013-05-20 21:44:36 +04:00
|
|
|
<style type="text/css">
|
2015-08-25 15:06:53 +03:00
|
|
|
|
|
|
|
html, body {
|
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
|
|
|
margin: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.openseadragon1 {
|
|
|
|
width: 80%;
|
|
|
|
height: 80%;
|
|
|
|
background-color: white;
|
|
|
|
border: 10px solid black;
|
|
|
|
}
|
2013-05-20 21:44:36 +04:00
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div>
|
|
|
|
Simple demo page to show a default OpenSeadragon viewer.
|
|
|
|
</div>
|
|
|
|
<div id="contentDiv" class="openseadragon1"></div>
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var viewer = OpenSeadragon({
|
2015-08-25 15:06:53 +03:00
|
|
|
debugMode: true,
|
2013-05-21 22:06:03 +04:00
|
|
|
id: "contentDiv",
|
|
|
|
prefixUrl: "../../build/openseadragon/images/",
|
2013-07-01 20:55:58 +04:00
|
|
|
tileSources: "../data/testpattern.dzi",
|
2015-08-25 15:06:53 +03:00
|
|
|
minZoomImageRatio: 0.8,
|
|
|
|
allowZoomToConstraintsOnResize: true
|
2013-05-20 21:44:36 +04:00
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|