-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstatements.html
More file actions
executable file
·153 lines (123 loc) · 3.79 KB
/
statements.html
File metadata and controls
executable file
·153 lines (123 loc) · 3.79 KB
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
<!-- http://chimera.labs.oreilly.com/books/1230000000345/ch06.html#_data_driven_shapes -->
<!-- python -m SimpleHTTPServer 8887 -->
<!-- http://localhost:8887/ -->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Last Statements</title>
<script type="text/javascript" src="d3/d3.js"></script>
<style>
body {
margin-left: 130px;
font-family: sans-serif;
}
h1 {
font-family: sans-serif;
color: black;
margin-bottom: 10px;
}
#menu {
margin-top: 0;
}
a {
text-decoration: none;
font-weight: 700;
color: black;
}
a:visited {
color:black;
}
a:hover {
color: red;
}
div.vis {
display: block;
float:left;
position: absolute;
}
#tooltip {
margin-top: 560px;
display: block;
float: left;
position: absolute;
width: 1300px;
height: auto;
padding: 10px;
background-color: white;
/*-webkit-border-radius: 10px;
-moz-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
-moz-box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);
box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.4);*/
pointer-events: none;
}
#tooltip.hidden {
display: none;
}
#tooltip p {
margin: 0;
font-family: sans-serif;
font-size: 14px;
line-height: 20px;
}
#photo {
float: left;
margin: 10px;
margin-top: 0;
}
#value {
}
#name {
}
#date {
}
#button1 {
border-width: 2px;
border-color: black;
color: white;
background-color: #75c374;
padding: 8px;
cursor: pointer;
}
#button2 {
border-width: 2px;
border-color: black;
color: white;
background-color: #f45661;
padding: 8px;
cursor: pointer;
}
#button3 {
border-width: 2px;
border-color: black;
color: white;
background-color: #FF8300;
padding: 8px;
cursor: pointer;
}
</style>
</head>
<body>
<h1>Last Statements</h1>
<p id="menu"><a href="index.html">Home</a> |
<a href="#">Statements</a> |
<a href="race.html">Race</a> |
<a href="compare.html">Other Writings</a><p>
<!-- onclick="updateData()" -->
<!-- <div class="buttons">Compare to:
<span id="button1">E.E. Cummings</span>
<span id="button2">Sermons</span>
<span id="button3">Prayers</span></div> -->
<div class="vis">
<script src="vis1.js"></script>
</div>
<div id="tooltip" class="hidden">
<p><span><img id="photo" src="nophoto.jpg"></span>
<span id="value">statement</span></p>
<p>—<span id="name">name </span>
<span id="date">name</span></p>
</div>
</body>
</html>