forked from informatics-isi-edu/openseadragon-viewer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex_layer2.html
executable file
·77 lines (71 loc) · 2.77 KB
/
index_layer2.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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
<!DOCTYPE html>
<meta charset="utf-8">
<head>
<title>2D++ layering viewer</title>
<link href='css/bootstrap.css' rel='stylesheet' />
<link href='css/jquery-ui.min.css' rel='stylesheet' />
<link href='css/jquery-ui.theme.min.css' rel='stylesheet' />
<script type='text/javascript' src='js/jquery.js'></script>
<script type='text/javascript' src='js/jquery-ui.js'></script>
<script type='text/javascript' src='js/jquery.ui.slider.js'></script>
<script type="text/javascript" src="js/alertify.min.js"> </script>
<script type='text/javascript' src='js/openseadragon.js'></script>
<script type='text/javascript' src='js/jquery.viewer_layer.js'></script>
<style>
#content {
width: 100%;
height: 100%;
background-color: #d9d9d9;
}
.openseadragon {
width: 800px;
height:500px;
background-color: white;
border:4px solid red;
}
</style>
</head>
<body>
<div id="content">
<div>
<div style='margin-left:20px'>
data source:
<select id="inputURL" >
<!-- real test data
<option value="http://localhost/data/cirm/real3/DZI/ImageProperties.xml">all</option>
-->
<option value="http://localhost/data/cirm/real3/DZC/DAPI/ImageProperties.xml">dapi</option>
<option value="http://localhost/data/cirm/real3/DZC/Alexa
Fluor 488/ImageProperties.xml" >AF488</option>
<option value="http://localhost/data/cirm/real3/DZC/Alexa
Fluor 555/ImageProperties.xml" >AF555</option>
</select>
</div>
<div style='margin-left:20px'>
opacity:<input id="inputOpacity" value="0.6"/>
</div>
<button onclick="addData();" style='margin:2px; background:#FF9999;'>Add</button>
<div>
<div style='margin-left:20px'>
select layer:
<select id="inputLayer" >NONE</select>
</div>
<div style='margin-left:20px'>
new opacity:<input id="updateOpacity" value="0.2"/>
</div>
<button onclick="spreadLayer();" style='margin:2px; background:#FF9999;'>spreadLayer</button>
<button onclick="removeLayer();" style='margin:2px; background:#FF9999;'>removeLayer</button>
<button onclick="updateOpacity();" style='margin:2px; background:#FF9999;'">updateOpacity</button>
<button onclick="chkInfo()" style='margin:4px; background:#FF9999;'>info</button>
</div>
<div>
<input id="toggleFlipBtn" type="button" value="Flip" onclick="toggleFlip();"/>
<input id="toggleZapRedBtn" type="button" value="Red" onclick="toggleZapRed();"/>
<input id="toggleZapGreenBtn" type="button" value="Green" onclick="toggleZapGreen();"/>
<input id="toggleZapBlueBtn" type="button" value="Blue" onclick="toggleZapBlue();"/>
</div>
</div>
<div id="openseadragon" class="openseadragon" >
</div>
</body>
</html>