mirror of
https://github.com/openseadragon/openseadragon.git
synced 2024-11-27 15:46:10 +03:00
39 lines
1022 B
HTML
39 lines
1022 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>OpenSeadragon Zoomify Demo</title>
|
|
<script type="text/javascript" src='../../build/openseadragon/openseadragon.js'></script>
|
|
<script type="text/javascript" src='../lib/jquery-1.9.1.min.js'></script>
|
|
<style type="text/css">
|
|
|
|
.openseadragon1 {
|
|
width: 800px;
|
|
height: 600px;
|
|
}
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>
|
|
Simple demo page to show a default OpenSeadragon viewer with a Zoomify tile source.
|
|
</div>
|
|
<div id="contentDiv" class="openseadragon1"></div>
|
|
<script type="text/javascript">
|
|
|
|
var viewer = OpenSeadragon({
|
|
debugMode: true,
|
|
id: "contentDiv",
|
|
prefixUrl: "../../build/openseadragon/images/",
|
|
tileSources: [{
|
|
type: "zoomifytileservice",
|
|
width: 1000,
|
|
height: 1000,
|
|
tilesUrl: "../data/zoomify/"
|
|
}],
|
|
showNavigator:true
|
|
});
|
|
|
|
</script>
|
|
</body>
|
|
</html>
|