2013-03-17 05:05:02 +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
|
|
|
<style type="text/css">
|
|
|
|
.openseadragon
|
|
|
|
{
|
|
|
|
width: 800px;
|
|
|
|
height: 600px;
|
|
|
|
border: 1px solid black;
|
|
|
|
color: #333; /* text color for messages */
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
.openseadragon-small
|
|
|
|
{
|
|
|
|
width: 40px;
|
|
|
|
height: 30px;
|
|
|
|
border: 1px solid black;
|
|
|
|
color: #333; /* text color for messages */
|
|
|
|
background-color: black;
|
|
|
|
}
|
|
|
|
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<div class="demoarea">
|
|
|
|
<div>
|
|
|
|
Simple demo page to verify that event handlers pass along the original source event
|
|
|
|
</div>
|
|
|
|
<div id="contentDiv" class="openseadragon"></div>
|
|
|
|
<div id="navigatorDialog">
|
|
|
|
<div id="navigatorDiv" class="findme"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
|
|
|
var viewer = OpenSeadragon({
|
|
|
|
id:"contentDiv",
|
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-21 21:56:37 +04:00
|
|
|
Url:"data/testpattern_files/",
|
2013-03-17 05:05:02 +04:00
|
|
|
Format:"jpg",
|
|
|
|
Overlap:"2",
|
|
|
|
TileSize:"256",
|
|
|
|
Size:{
|
|
|
|
Height:"9221",
|
|
|
|
Width:"7026"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|