-
Notifications
You must be signed in to change notification settings - Fork 8
/
index.html
executable file
·125 lines (105 loc) · 5.07 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>WordStream</title>
<link rel="shortcut icon" href="images/ws.png">
<script src="./lib/d3.min.js"></script>
<script src="./lib/d3.v4.min.js"></script>
<script src="./lib/loaddata.js"></script>
<script src="./lib/d3.layout.wordstream.js"></script>
<script src="lib/d3.slider.js"></script>
<script src="./test/testutil.js"></script>
<script src="javascripts/jquery/jquery-1.9.0.min.js"></script>
<script src="javascripts/msdropdown/jquery.dd.js"></script>
<script src="javascripts/msdropdown/select.js"></script>
<link rel="stylesheet" type="text/css" href="styles/msdropdown/dd.css"/>
<link rel="stylesheet" type="text/css" href="styles/main.css" media="screen"/>
<script src="javascripts/msdropdown/jquery.dd.js"></script>
<script src="javascripts/msdropdown/select.js"></script>
<link rel="stylesheet" type="text/css" href="styles/msdropdown/dd.css"/>
<link rel="stylesheet" type="text/css" href="styles/d3.slider.css">
<link href="styles/jquery-ui.css" rel="stylesheet" type="text/css"/>
</head>
<body>
<div class="title ">
<a href="index.html" class="titleText">WordStream: Interactive Tool for Topic Evolution</a>
<!--<span>-->
<a href="https://diglib.eg.org/handle/10.2312/evs20191178" class="button still" target="_blank">EuroVis Entry</a>
<a href="https://diglib.eg.org/bitstream/handle/10.2312/evs20191178/103-107.pdf" class="button still"
target="_blank">PDF</a>
<a href="examples.html" class="button still">Examples</a>
<a href="video.html" class="button still">Video</a>
<a href="index.html" class="button active">Demo</a>
<!--</span>-->
</div>
<div id="loadingSpinner">
<!-- <span id="progressText"> -->
</div>
<script src='https://cdnjs.cloudflare.com/ajax/libs/spin.js/2.0.1/spin.min.js'></script> <!-- Spinner when loading -->
<script type='text/javascript' src="https://code.jquery.com/ui/1.11.0/jquery-ui.min.js"></script>
<link href="styles/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src='https://cdnjs.cloudflare.com/ajax/libs/spin.js/2.0.1/spin.min.js'></script> <!-- Spinner when loading -->
<!--✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ Slider ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿ ✿-->
<svg width="360px" height="377px" class="cp" id="cp">
<text y="15px" font-weight="600">Control Panel</text>
</svg>
<div id="menu" class="holderCP" style="display: inline-block">
<div id="holder1" class="holder1">
<select id="datasetsSelect" class="styled-select" onchange="loadNewData.call(this, event)"></select>
</div>
<p><span id="heightText" class="heightText textSlider"></span>
<img class="heightIcon icon" src="images/height.png" >
</p>
<div id="heightSlider" class="haxis slider"></div>
<p><img class="widthIcon icon" src="images/width.png">
<span id="widthText" class="widthText textSlider"></span>
</p>
<div id="widthSlider" class="waxis slider"></div>
<p><img class="fontIcon icon" src="images/font.png">
<span class="fontText textSlider">
<span id="fontMin"></span>,
<span id="fontMax"></span>
</span>
</p>
<div id="fontSlider" class="fontAxis slider"></div>
<p><img class="topRankIcon icon" src="images/toprank3.png">
<span id="topRankText" class="topRankText textSlider"></span>
</p>
<div id="topRankSlider" class="topRankAxis slider"></div>
<p class="textSlider flow">Flow</p>
<img class="flow" style="left: 68px; width: 33px; height: 23px" src="images/flow.png">
<label class="switch flow" style="left: 105px;">
<input type="checkbox" id="flow"
onclick="submitInput(draw)">
<span class="toggle round"></span>
</label>
<p class="textSlider angleVariance">Angle Variance</p>
<img class="angleVariance" style="top: 302px;left: 278px;width: 32px; height: 35px" src="images/av.png">
<label class="switch angleVariance" style="left: 315px">
<input type="checkbox" id="av"
onclick="submitInput(draw)">
<span class="toggle round"></span>
</label>
<p class="textSlider rel">Relationships</p>
<label class="switch rel" style="left: 315px;">
<input type="checkbox" id="rel" onclick="showRelationship()">
<span class="toggle round"></span>
</label>
<input class="submit" onclick="submitInput(draw)" type="button" value="Submit"><br>
<input class="computeMetric" onclick="computeMetric()" type="button" value="Update measurements"><br>
</div>
<script src="./javascripts/metric.js"></script>
<script src="./javascripts/init.js"></script>
<script>
d3.select("#heightText").text(initHeight);
d3.select("#widthText").text(initWidth);
d3.select("#fontMin").text(initMinFont);
d3.select("#fontMax").text(initMaxFont);
d3.select("#topRankText").text(initTop);
</script>
<script src="./javascripts/main.js"></script>
<script src="./javascripts/update.js"></script>
</body>
</html>