-
Notifications
You must be signed in to change notification settings - Fork 0
/
index_viz.html
executable file
·115 lines (109 loc) · 4.81 KB
/
index_viz.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
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="css/slider.css">
<link rel="stylesheet" type="text/css" href="css/style.css">
<meta charset=utf-8 />
<title>JS</title>
</head>
<body>
<div id="windowDiv" style="display:inline-block;">
<div id="header" style="display:block;"> Galactic Merger Trees </div>
<div id="main" style="display:block;">
<table style="border-spacing: 0.5px;">
<tr>
<td>
<div id="sliderContainer">
<div id="similarHalo">Similar Halos</div>
<div id="sliderContent"></div>
</div>
</td>
</tr>
<tr>
<td>
<table id="toptable">
<tr>
<td >
<div id="topContainer" style="display:inline;float:left">
<button class="button" id="resetButton" onclick='resetTree()'>Reset View</button>
<form style="display:inline"><input class="checked" id="checkedRemoveGraphs" type="checkbox" onclick="toggleGraphs()"> Remove Graphs </form>
<form style="display:inline"><input class="checked" id="checkedRemoveTooltips" type="checkbox" onclick="toggleTooltips()"> Remove Tooltips </form>
<form style="display:inline"><input class="checked" id="checkedLuminosity" type="checkbox" onclick="toggleLuminosity()"> Luminosity View </form>
</div>
</td>
<td >
<div id="nodeLegend" style="display:inline; float:right; margin-bottom:-7px;">
<img src="./images/Legend.jpg" style="float:right;" alt="Node Legend" width="40%" height="15%">
</div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<div id="svgContent" style="display:inline-block;">
</td>
</tr>
<tr>
<td>
<div id="panelContent" style="display:inline-block">
<table id="graphLabelTable">
<tr style="padding: 0px;">
<td width="33%">
<div id="legend" style="text-align:left; padding: 0px;"></div>
</td>
<td width="33%">
<div style="text-align:center; margin: -15px auto auto;" id="textInfo">Drag your mouse over the graphs below to highlight specific halos</div>
</td>
<td width="33%">
<div id="haloTextSelected" style="text-align:right; margin: -15px auto auto;"><b>0 Halos Selected</b></div>
</td>
</tr>
</table>
<table id="table">
<tr>
<td>
<table id="massInformation">
<tr>
<td width="60%"> <div id="massPanel"> </div> </td>
<td width="40%">
<div id="massTextBoxes" style = "width:125px; text-align:right;">
<form onkeypress="return event.keyCode != 13;" >min: <input id="textboxMinMass" type="text" value="0"/> </form>
<form onkeypress="return event.keyCode != 13;" >max: <input id="textboxMaxMass" type="text" value="0"/> </form>
<div id="buttonMass"><button class="button">Update Interval</button> </div>
</div>
</td>
</tr>
</table>
</td>
<td>
<table id="particleInformation">
<tr>
<td width="60%"><div id="particlePanel"> </div></td>
<td width="40%">
<div id="particleTextBoxes" style="width:125px; text-align:right;">
<form onkeypress="return event.keyCode != 13;">min: <input id="textboxMinParticle" type="text" value="0"/> </form>
<form onkeypress="return event.keyCode != 13;">max: <input id="textboxMaxParticle" type="text" value="0" /> </form>
<div id="buttonParticle"><button class="button">Update Interval</button></div>
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</div>
<script type="text/javascript" src="js/jquery-1.10.2.js"></script>
<!--<script type="text/javascript" src="js/jquery-ui-1.10.4.custom.min.js"></script>-->
<script src="http://d3js.org/d3.v3.js"></script>
<script src="http://labratrevenge.com/d3-tip/javascripts/d3.tip.v0.6.3.js"></script>
<script src="js/slider.js"></script>
<script src="js/interaction_collapse.js"></script>
</body>
</html>