-
Notifications
You must be signed in to change notification settings - Fork 3
/
chess-informant-symbols.html
56 lines (39 loc) · 1.3 KB
/
chess-informant-symbols.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
<!DOCTYPE HTML>
<html>
<!--
pgn4web javascript chessboard
copyright (C) 2009-2014 Paolo Casaschi
see README file and http://pgn4web.casaschi.net
for credits, license and more details
-->
<head>
<title>Chess Informant symbols</title>
<link href="template.css" type="text/css" rel="stylesheet" />
<link rel="icon" sizes="16x16" href="pawn.ico" />
<script src="pgn4web.js" type="text/javascript"></script>
<script type="text/javascript">
"use strict";
var NAG_text = new Array();
for (var ii = 0; ii < NAG.length; ii++) {
if (!NAG[ii]) { continue; }
NAG_text[ii] = NAG[ii];
}
</script>
<script src="fonts/chess-informant-NAG-symbols.js" type="text/javascript"></script>
<script type="text/javascript">
if (location.search == "?alternative") { document.write('<script src="chess-informant-NAG-symbols-alternative.js" type="text/javascript"><\/script>'); }
</script>
</head>
<body>
<script type="text/javascript">
"use strict";
document.write("<table cellpadding='5'>");
var ix = Math.max(NAG.length, NAG_text.length);
for (var ii = 0; ii < ix; ii++) {
if ((!NAG[ii]) && (!NAG_text[ii])) { continue; }
document.write("<tr><td>$" + ii + "</td><td>" + (NAG[ii] ? NAG[ii] : "") + "</td><td>" + (NAG_text[ii] ? NAG_text[ii] : "") + "</td></tr>");
}
document.write("</table>");
</script>
</body>
</html>