-
Notifications
You must be signed in to change notification settings - Fork 6
/
tilb98r2.html
102 lines (78 loc) · 5.23 KB
/
tilb98r2.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
<html>
<!--
pgn4web javascript chessboard
copyright (C) 2009, 2010 Paolo Casaschi
see README file and http://pgn4web.casaschi.net
for credits, license and more details
-->
<head>
<title>Tilburg 1998 round 2</title>
<link href="tilb98r2.css" type="text/css" rel="stylesheet" />
<style type="text/css">
a.gamelist:link, a.gamelist:visited, a.gamelist:hover, a.gamelist:active,
a.gamelistselected:link, a.gamelistselected:visited, a.gamelistselected:hover, a.gamelistselected:active
{ color: black; font-weight: bold; font-size: 90%; line-height: 120%; text-decoration: none; outline: none; white-space:pre;}
a.gamelist:link, a.gamelist:visited, a.gamelist:hover, a.gamelist:active
{ background: white; }
</style>
<link rel="shortcut icon" href="pawn.ico" />
<script src="pgn4web.js" type="text/javascript"></script>
<script type="text/javascript">
SetPgnUrl("tilb98r2.pgn"); // if set, this has precedence over the inline PGN below
SetImagePath("alpha/36"); // use "" path if images are in the same folder as this javascript file
SetImageType("png");
// SetHighlightOption(true); // true or false
SetGameSelectorOptions("Select a KK game...", false, 0, 8, 0, 0, 0, 0, 10); // (head, num, chEvent, chSite, chRound, chWhite, chBlack, chResult, chDate);
SetCommentsIntoMoveText(false);
// SetCommentsOnSeparateLines(false);
SetAutoplayDelay(2500); // milliseconds
SetAutostartAutoplay(true);
// SetAutoplayNextGame(false); // if set, move to the next game at the end of the current game during autoplay
SetInitialGame(2); // number of game to be shown at load, from 1 (default); values (keep the quotes) of "first", "last", "random" are accepted; other string values assumed as PGN search string
SetInitialHalfmove(1,true); // halfmove number to be shown at load, 0 (default) for start position; values (keep the quotes) of "start", "end", "random" and "comment" (go to first comment) are also accepted. Second parameter if true applies the setting to every selected game instead of startup only (default)
SetShortcutKeysEnabled(false);
// Example below of customization of the shortcut squares, in this case
// disabling switching games with the usual third/fourth/sixth/seventh row shortcut
// squares (that would break the game highlighting feature of the page)
cols2clear="ABCDEFGH";
rows2clear="34567";
for (c=0; c<cols2clear.length; c++) {
for (r=0; r<rows2clear.length; r++) {
boardShortcut(cols2clear.charAt(c)+rows2clear.charAt(r), "", function(){});
}
}
</script>
</head>
<body>
<!-- paste your PGN below and make sure you dont specify an external source with SetPgnUrl() -->
<form style="display: none;"><textarea style="display: none;" id="pgnText">
</textarea></form>
<!-- paste your PGN above and make sure you dont specify an external source with SetPgnUrl() -->
<table width=100% cellpadding=10 cellspacing=10 border=0>
<tr>
<td rowspan=2 width=360 valign=top>
<div id="GameBoard"></div>
</td>
<td align=left valign=top>
<div style="text-align:right; font-size: 140%; font-weight: bold">Tilburg Fontys 1998 round 2</div>
<div style="text-align:left;">
<br><a id="game5" href="javascript:document.getElementById('game'+currentGame).className='gamelist';document.getElementById('game5').className='gamelistselected moveOn';Init(5);SetAutoPlay(true);" onfocus="this.blur()" class="gamelist"> Peter Svidler - Jeroen Piket 1-0 </a>
<br><a id="game1" href="javascript:document.getElementById('game'+currentGame).className='gamelist';document.getElementById('game1').className='gamelistselected moveOn';Init(1);SetAutoPlay(true);" onfocus="this.blur()" class="gamelistselected moveOn"> Viswanathan Anand - Vladimir Kramnik 1-0 </a>
<br><a id="game3" href="javascript:document.getElementById('game'+currentGame).className='gamelist';document.getElementById('game3').className='gamelistselected moveOn';Init(3);SetAutoPlay(true);" onfocus="this.blur()" class="gamelist"> Mattew Sadler - Veselin Topalov 1/2-1/2 </a>
<br><a id="game4" href="javascript:document.getElementById('game'+currentGame).className='gamelist';document.getElementById('game4').className='gamelistselected moveOn';Init(4);SetAutoPlay(true);" onfocus="this.blur()" class="gamelist"> Vadim Zvjaginsev - Peter Leko 1/2-1/2 </a>
<br><a id="game2" href="javascript:document.getElementById('game'+currentGame).className='gamelist';document.getElementById('game2').className='gamelistselected moveOn';Init(2);SetAutoPlay(true);" onfocus="this.blur()" class="gamelist"> Joel Lautier - Loek Van Wely 1/2-1/2 </a>
<br><a id="game0" href="javascript:document.getElementById('game'+currentGame).className='gamelist';document.getElementById('game0').className='gamelistselected moveOn';Init(0);SetAutoPlay(true);" onfocus="this.blur()" class="gamelist"> Viktor Kortschnoj - Michael Adams 0-1 </a>
</td>
</tr>
<tr>
<td valign=bottom>
<div style="text-align:justify; font-size: 70%;">
<span id="GameText"></span>
<p></p>
<span id="GameResult"></span>
</div>
</td>
</tr>
</table>
</body>
</html>