-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
executable file
·153 lines (129 loc) · 4.49 KB
/
index.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-gb" lang="en" xmlns:og="http://opengraphprotocol.org/schema/" xmlns:fb="http://www.facebook.com/2008/fbml" itemscope itemtype="http://schema.org/Map">
<head>
<title>Disease-Disease Network</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta charset="utf-8">
<meta name="viewport" content="width=device-width,height=device-height,initial-scale=1,user-scalable=no" />
<meta http-equiv="X-UA-Compatible" content="IE=Edge" />
<!--[if IE]><script type="text/javascript" src="js/excanvas.js"></script><![endif]--> <!-- js/default.js -->
<script src="js/jquery/jquery.min.js" type="text/javascript"></script>
<script src="js/sigma/sigma.min.js" type="text/javascript" language="javascript"></script>
<script src="js/sigma/sigma.parseGexf.js" type="text/javascript" language="javascript"></script>
<script src="js/sigma/sigma.parseJson.js" type="text/javascript" language="javascript"></script>
<script src="js/fancybox/jquery.fancybox.pack.js" type="text/javascript" language="javascript"></script>
<script src="js/main.js" type="text/javascript" language="javascript"></script>
<link rel="stylesheet" type="text/css" href="js/fancybox/jquery.fancybox.css"/>
<link rel="stylesheet" href="css/style.css" type="text/css" media="screen" />
<link rel="stylesheet" media="screen and (max-height: 770px)" href="css/tablet.css" />
<link rel="stylesheet" href="css/rSlider.min.css">
<script src="js/rSlider.min.js"></script>
<script>
var slider;
function init(){
$('.form-vs').show();
slider = new rSlider({
target: '#slider',
values: {min: 0, max: 150},
step: 1,
range: true,
scale: false,
labels: false
});
}
window.onload = init;
</script>
</head>
<body>
<div class="sigma-parent">
<div class="sigma-expand" id="sigma-canvas"></div>
</div>
<div id="mainpanel">
<div class="col">
<div id="maintitle"></div>
<div id="title"></div>
<div id="titletext"></div>
<div class="info cf">
<dl>
<dt class="moreinformation"></dt>
<dd class="line"><a href="#information" class="line fb">More about this visualization</a></dd>
</dl>
</div>
<div id="legend">
<div class="box">
<h2>Legend:</h2>
<dl>
<dt class="node"></dt>
<dd></dd>
<dt class="edge"></dt>
<dd></dd>
<dt class="colours"></dt>
<dd></dd>
</dl>
</div>
</div>
<div class="b1">
<form>
<div id="search" class="cf"><h2>Search:</h2>
<div class="form-vs">
<label>Pick a variable to search by:</label>
<br/>
<select id = "dropdown" name="" onchange="addExamplesForSearch(event);">
<option disabled selected>Choose name of variable</option>
</select>
</div>
<dl></dl>
<div class="form-vs-1">
<input type="text" name = "search" id="textbox" value="" class="empty" style="display: none">
<div id="containerforslider" class="slider-container" style="display: none">
<input type="text" id="slider" class="slider">
</div>
<br></br>
<input type="button" class="state" value="Search"></input>
</div>
<div class="results"></div>
</div>
<div class="cf" id="attributeselect"><h2>Group Selector:</h2>
<div class="select">Select Group</div>
<div class="list cf"></div>
</div>
</form>
</div>
</div>
<div id="information">
</div>
</div>
<div id="zoom">
<div class="z" rel="in"></div> <div class="z" rel="out"></div> <div class="z" rel="center"></div>
</div>
<div id="attributepane">
<div class="text">
<div title="Close" class="left-close returntext"><div class="c cf"><span>Return to the full network</span></div></div>
<div class="headertext">
<span>Information Pane</span>
</div>
<div class="nodeattributes">
<div class="name"></div>
<div class="data"></div>
<div class="p">Connections:</div>
<div class="link">
<ul>
</ul>
</div>
</div>
</div>
</div>
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-21293169-4']);
_gaq.push(['_setDomainName', 'none']);
_gaq.push(['_setAllowLinker', true]);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</body>
</html>