-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
40 lines (38 loc) · 1.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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" >
<title>Compare columns</title>
<link rel="stylesheet" type="text/css" href="https://dohliam.github.io/dropin-minimal-css/min/milligram.min.css">
<link rel="stylesheet" type="text/css" href="comparecol.css">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<script src="comparecol.js" type="text/javascript"></script>
</head>
<body onload="document.columns.col_one.focus();">
<center>
<h2>Compare columns</span></h2>
<table>
<tr valign=top>
<th>Col 1</th>
<th>Col 2</th>
<th>Result</th>
</tr>
<tr>
<form name="columns">
<td>
<textarea type="text" name="col_one" rows="25" cols="15" style="font-size: 16px" value="" id="col_one"></textarea>
</td>
<td>
<textarea type="text" name="col_two" rows="25" cols="15" style="font-size: 16px" value="" id="col_two"></textarea>
</td>
<td>
<textarea type="text" name="colout" rows="25" cols="15" style="font-size: 16px" value="" id="colout"></textarea>
</td>
</tr>
</table>
<h3>List items appearing in:</h3>
<input type="button" onclick="only_colone();" value="col 1 only">
<input type="button" onclick="only_coltwo();" value="col 2 only">
<input type="button" onclick="colfboth();" value="both cols"><p>
</center>
</body>
</html>