2013-03-15 18:59:47 +04:00
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<title>OpenSeadragon Expose Origina Event Demo</title>
|
2013-03-21 21:56:37 +04:00
|
|
|
<script type="text/javascript" src='../build/openseadragon/openseadragon.js'></script>
|
2013-03-17 05:05:02 +04:00
|
|
|
|
2013-03-15 18:59:47 +04:00
|
|
|
<style type="text/css">
|
2013-03-17 05:05:02 +04:00
|
|
|
.openseadragon1
|
2013-03-15 18:59:47 +04:00
|
|
|
{
|
2013-03-24 05:10:23 +04:00
|
|
|
width: 300px;
|
|
|
|
height: 700px;
|
2013-03-15 18:59:47 +04:00
|
|
|
border: 1px solid black;
|
|
|
|
color: #333; /* text color for messages */
|
|
|
|
background-color: black;
|
|
|
|
}
|
2013-03-17 05:05:02 +04:00
|
|
|
|
|
|
|
.openseadragon2
|
2013-03-15 18:59:47 +04:00
|
|
|
{
|
2013-03-17 05:05:02 +04:00
|
|
|
width: 500px;
|
|
|
|
height: 1000px;
|
2013-03-15 18:59:47 +04:00
|
|
|
border: 1px solid black;
|
|
|
|
color: #333; /* text color for messages */
|
|
|
|
background-color: black;
|
|
|
|
}
|
2013-03-17 05:05:02 +04:00
|
|
|
|
|
|
|
.openseadragon3
|
|
|
|
{
|
|
|
|
width: 762px;
|
|
|
|
height: 1000px;
|
|
|
|
border: 1px solid black;
|
|
|
|
color: #333; /* text color for messages */
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-15 18:59:47 +04:00
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="demoarea">
|
|
|
|
<div>
|
2013-03-17 05:05:02 +04:00
|
|
|
Simple demo page to verify navigator can be placed on an element outside of the main viewer
|
2013-03-15 18:59:47 +04:00
|
|
|
</div>
|
2013-03-17 05:05:02 +04:00
|
|
|
<div id="contentDiv1" class="openseadragon1"></div>
|
|
|
|
<div id="navigatorDialog1">
|
|
|
|
<div id="navigatorDiv1" class="findme"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="contentDiv2" class="openseadragon2"></div>
|
|
|
|
<div id="navigatorDialog2">
|
|
|
|
<div id="navigatorDiv2" class="findme"></div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div id="contentDiv3" class="openseadragon3"></div>
|
|
|
|
<div id="navigatorDialog3">
|
|
|
|
<div id="navigatorDiv3" class="findme"></div>
|
2013-03-15 18:59:47 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
2013-03-17 05:05:02 +04:00
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var viewer1 = OpenSeadragon({
|
|
|
|
id:"contentDiv1",
|
|
|
|
navigatorId: "navigatorDiv1",
|
2013-03-21 21:56:37 +04:00
|
|
|
prefixUrl:"../build/openseadragon/images/",
|
2013-03-15 18:59:47 +04:00
|
|
|
tileSources:{
|
|
|
|
Image:{
|
|
|
|
xmlns:"http://schemas.microsoft.com/deepzoom/2008",
|
2013-03-24 05:10:23 +04:00
|
|
|
Url:"data/wide_files/",
|
2013-03-15 18:59:47 +04:00
|
|
|
Format:"jpg",
|
|
|
|
Overlap:"2",
|
|
|
|
TileSize:"256",
|
|
|
|
Size:{
|
2013-03-24 05:10:23 +04:00
|
|
|
Height:"500",
|
|
|
|
Width:"2000"
|
2013-03-15 18:59:47 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
2013-03-17 05:05:02 +04:00
|
|
|
var viewer2 = OpenSeadragon({
|
|
|
|
id:"contentDiv2",
|
|
|
|
navigatorId: "navigatorDiv2",
|
2013-03-21 21:56:37 +04:00
|
|
|
prefixUrl:"../build/openseadragon/images/",
|
2013-03-17 05:05:02 +04:00
|
|
|
tileSources:{
|
|
|
|
Image:{
|
|
|
|
xmlns:"http://schemas.microsoft.com/deepzoom/2008",
|
2013-03-24 05:10:23 +04:00
|
|
|
Url:"data/wide_files/",
|
2013-03-17 05:05:02 +04:00
|
|
|
Format:"jpg",
|
|
|
|
Overlap:"2",
|
|
|
|
TileSize:"256",
|
|
|
|
Size:{
|
2013-03-24 05:10:23 +04:00
|
|
|
Height:"500",
|
|
|
|
Width:"2000"
|
2013-03-17 05:05:02 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
var viewer3 = OpenSeadragon({
|
|
|
|
id:"contentDiv3",
|
|
|
|
navigatorId: "navigatorDiv3",
|
2013-03-21 21:56:37 +04:00
|
|
|
prefixUrl:"../build/openseadragon/images/",
|
2013-03-17 05:05:02 +04:00
|
|
|
tileSources:{
|
|
|
|
Image:{
|
|
|
|
xmlns:"http://schemas.microsoft.com/deepzoom/2008",
|
2013-03-24 05:10:23 +04:00
|
|
|
Url:"data/tall_files/",
|
2013-03-17 05:05:02 +04:00
|
|
|
Format:"jpg",
|
|
|
|
Overlap:"2",
|
|
|
|
TileSize:"256",
|
|
|
|
Size:{
|
2013-03-24 05:10:23 +04:00
|
|
|
Height:"2000",
|
|
|
|
Width:"500"
|
2013-03-17 05:05:02 +04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
|
2013-03-15 18:59:47 +04:00
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|