forked from informatics-isi-edu/openseadragon-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_debug_annotorious.html
55 lines (48 loc) · 2.17 KB
/
index_debug_annotorious.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'>
<meta charset="utf-8">
<html>
<head>
<title> 2D+Annotorious+debug viewer </title>
<link href="css/bootstrap.css" rel="stylesheet">
<link href="css/alertify.core.css" rel="stylesheet">
<link href="css/alertify.default.css" rel="stylesheet">
<link href="css/jquery-ui.css" rel="stylesheet">
<link href="css/viewer.css" rel="stylesheet">
<link href="css/osea_viewer.css" rel="stylesheet">
<script type="text/javascript" src="js/alertify.min.js"> </script>
<script type="text/javascript" src="js/jquery.js"> </script>
<script type="text/javascript" src="js/debug.js"> </script>
<!-- for openseadragon and viewer -->
<script type="text/javascript" src="js/jquery.viewer.js"> </script>
<script type="text/javascript" src="js/openseadragon.js"> </script>
<!-- for annotorious -->
<link href="css/annotorious/themes/dark/annotorious-dark.css" rel="stylesheet">
<link href="css/anno_viewer.css" rel="stylesheet">
<script type="text/javascript" src="js/annotorious.js"> </script>
<script type="text/javascript" src="js/jquery.anno_viewer.js"> </script>
<script>
$.holdReady(true);
</script>
</head>
<body>
<!-- The viewer -->
<input id="loadbtn" type="button" value="load" onclick="this.style.visibility='hidden'; $.holdReady(false); document.getElementById('tools').style.display = 'block';" />
<div class="viewer">
<div style="position:relative; width:800px; height:50px; margin-bottom:0px;">
<div id="tools" class="toolbar">
<span style='float:right;margin:10px 0 0 20px'>
<input class="snap" type="button" onclick="snapPosition()"/>
<input class="go" type="button" onclick="snapGo()"/>
<input class="dump" type="button" value="dump" onclick="annoDump()"/>
</span>
</div>
</div>
<div style="position:relative; width:800px; height:500px; margin-bottom:0px;">
<div id="openseadragon" class="openseadragon"></div>
<div id="anno-button">
<input id="map-annotate-button" type="button" style="display:hidden" onmouseover="annoBtnEnter()" onmouseout="annoBtnExit()" onclick="annotate()"/>
</div>
</div>
</div>
</body>
</html>