-
Notifications
You must be signed in to change notification settings - Fork 6
/
demo.html
210 lines (156 loc) · 10.1 KB
/
demo.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
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
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
<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>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
<title>pgn4web demo site</title>
<style type="text/css">
body
{ color: black; background: white; font-family: sans-serif; padding: 20px; }
a:link, a:visited, a:hover, a:active
{ color: black; text-decoration: none; }
.linkhead,
a.linklist:link, a.linklist:visited, a.linklist:hover, a.linklist:active,
a.linkselected:link, a.linkselected:visited, a.linkselected:hover, a.linkselected:active
{ font-size: 80%; color: black; text-decoration: none; word-spacing: normal; white-space: nowrap; }
a.linklist:hover,
a.linkselected:link, a.linkselected:visited, a.linkselected:hover, a.linkselected:active
{ color: red; }
</style>
<link rel="shortcut icon" href="pawn.ico" />
<script type="text/javascript">
function gup( name ){
name = name.replace(/[\[]/,"\\\[").replace(/[\]]/,"\\\]");
var regexS = "[\\?&]"+name+"=([^&#]*)";
regexS = regexS+"(?!.*"+regexS+")"; // matches the LAST occurrence
var regex = new RegExp( regexS, "i" );
var results = regex.exec( window.location.href );
if( results === null ) { return ""; }
else { return decodeURIComponent(results[1]); }
}
var pgn4webTestWin = null;
function openPgn4webTest(url) {
if (pgn4webTestWin && !pgn4webTestWin.closed) { pgn4webTestWin.close(); }
pgn4webTestWin = window.open(url, "pgn4webTest");
if (window.focus) { pgn4webTestWin.window.focus(); }
return false;
}
</script>
</head><body>
<table border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr>
<td align="left" valign="middle">
<h1 style="font-family: sans-serif; color: red;"><a style="color: red;" href=.>pgn4web</a> <a style="color: red;" href="#demo">demo site</a></h1>
</td>
<td align="right" valign="middle">
<a href=.><img src=pawns.png border=0></a>
</td>
</tr></tbody></table>
<div> </div>
<table style="font-size: 100%; font-weight: bold; text-align: left; line-height: 1.5em; word-spacing: 1em">
<tbody><tr valign="top"><td>
<a class="linkhead" style="font-weight: normal; white-space: nowrap; margin-right: 1em;" href="http://pgn4web-test.casaschi.net" onclick="return openPgn4webTest(this.href);">platform integration tests:</a>
</td><td>
<a class="linklist" href="http://pgn4web-test-blogger.casaschi.net" onclick="return openPgn4webTest(this.href);">blogger</a>
<a class="linklist" href="http://pgn4web-test-drupal.casaschi.net" onclick="return openPgn4webTest(this.href);">drupal</a>
<a class="linklist" href="http://pgn4web-test-gs.casaschi.net" onclick="return openPgn4webTest(this.href);">google sites</a>
<a class="linklist" href="http://pgn4web-test-mediawiki.casaschi.net" onclick="return openPgn4webTest(this.href);">mediawiki</a>
<a class="linklist" href="http://pgn4web-test-joomla.casaschi.net" onclick="return openPgn4webTest(this.href);">joomla</a>
<a class="linklist" href="http://pgn4web-test-phpbb.casaschi.net" onclick="return openPgn4webTest(this.href);">phpbb</a>
<a class="linklist" href="http://pgn4web-test-smf.casaschi.net" onclick="return openPgn4webTest(this.href);">simplemachines</a>
<a class="linklist" href="http://pgn4web-test-vb.casaschi.net" onclick="return openPgn4webTest(this.href);">vbulletin</a>
<a class="linklist" href="http://pgn4web-test-wp.casaschi.net" onclick="return openPgn4webTest(this.href);">wordpress.org</a>
</td></tr></tbody></table>
<table style="font-size: 100%; font-weight: bold; text-align: left; line-height: 1.5em; word-spacing: 1em">
<tbody><tr valign="top"><td>
<span class="linkhead" style="font-weight: normal; margin-right: 1em;">html demos:</span>
</td><td>
<a class="linklist" id="wch08ak" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="wch08ak.html">ak08</a>
<a class="linklist" id="chess960" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="chess960wch06.html">chess960</a>
<a class="linklist" id="debug" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="board.html?am=l&d=3000&ss=36&ps=d&pf=d&lcs=YeiP&dcs=Qcij&bbcs=D91v&bscs=Lb2$&hm=n&hcs=Udiz&bd=h&hd=j&md=j&tm=0&fhcs=$$$$&fhs=100p&fmcs=$$$$&fccs=v71$&hmcs=Qcij&fms=100p&fcs=m&cd=n&bcs=____&fp=18&hl=t&fh=330&fw=660&pe=520$A_e0G3vgZt82XAeAsL4AVvs$ZZaxf5uL5kaKo0IxBHl3M0dgK1LKQNH3ueKCLtwmVLpw7HXh3HKeSvNFrlZqMzg9Pjt7_uIutuqw_BN_OTC_N9o0F0Plt7Z84KDu3avM0_4CxgW7yVPou8veUoK33Q4ca4zKUTcnz1eOM7HX5uqyZt2l8$ZZaxf5uL5kaKo0IxBHl3M0dgK3qPHaYrG06OWUX6DkZH5Dhae3waaOYTbFC4KBXo3hI46xeSWmSCRTuUHKXZ8_XxBfpvs4CxexgqV6M1TbfuMoTztN7ZI5mNn2Zl3M4ca4zKUTcnz1eOM7OEnp6YCLokd$OZ$NEsW7cHjQzHVl5viUkGcvUEkXRqIRWrOsJSqnqHqdcHmBcC5QVYtK5KmGOqDLiDfSn6XmdwRqftwh31BHl4ZJkvyUYXZ2P9_l2j84CxfAAUZX5kixSOtbx8lxyM6WYGWOWreXRmZu3_Zgi7cfdxOM6M7IY2Twr57eTHXheo3ulyaUb0_$0">debug</a>
<a class="linklist" id="mini" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="mini.html">kk</a>
<a class="linklist" id="lon09r5_live" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="board.html?am=n&d=3000&ig=kramnik&ih=e&ss=36&ps=d&pf=d&lcs=Wtyk&dcs=OXJO&bbcs=OXJO&hm=b&hcs=ZbNv&bd=c&cbcs=UJ2e&ctcs=nkYj&hd=j&md=j&tm=18&fhcs=nkYi&fhs=90p&fmcs=nkYi&fccs=DoRa&hmcs=ZbNv&fms=80p&fcs=m&cd=i&bcs=Wtyk&fp=18&hl=t&fh=b&fw=660&pd=lon09r5.pgn&rm=0.25&rd=t">london live</a>
<a class="linklist" id="lon09r5" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="lon09r5.html">london replay</a>
<a class="linklist" id="widget" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="widget.html">morphy</a>
<a class="linklist" id="collection" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="collection-example.html">pgn collection</a>
<a class="linklist" id="inputform" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="inputform.html">pgn form</a>
<a class="linklist" id="tactics" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="tactics.html">puzzles</a>
<a class="linklist" id="board" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href='board.html?am=g&d=1000&ss=50&ps=40&pf=u&lcs=Ut65&dcs=ObJH&bbcs=$$$$&hm=b&hcs=__X$&bd=h&hd=c&md=j&tm=50&fhcs=$$$$&fhs=100p&fmcs=$$$$&fccs=_L$$&hmcs=__X$&fms=90p&fcs=m&cd=i&bcs=____&fp=10&hl=f&fh=1000&fw=609&pe=1227$zlax9RvmYXZNS4XYTucLSNGYTbS4coab2l8$JzaLr6WMr52wilheKl8$y2xz1BHASUtGJ05n9pNmXX5Hh0oyuOYZ64Tef4XZ2eMilh1NYfdvls2eVe3u0Vd_c3ul4coaE6V_9P1je54cnHb11nvoaz7$ij2qQ2$gK3qU5$fbzN3ZgD30jM$Om7T1$BBf3BjH90$OlPfJeaDr02O7YF0L7YxcQ8F29$yshpvqS7bn3ayNV0FpvN$fVg3dzrl5n10xnvoFKHfq$71GW32kYx2p06h5voGz5T1$IDyR7bj1$zYfYN2d$v8W308pwnnr13Xf3iz7j0$RXf4i37b16sDwSoj7f1dZRpdE3rw2$fAx$IVw5$fcijdPrl7P16pbvC7gL3me7vqoj790$RRgij7r0$OlDsEN32vfcKzdQSN59$vAsXv9I5a5502kpbwazbf13YfYkejbn13FEVwajbL1$zRgrzk2c$vnBKP2k8F5r0$khpwGhMwf7VzpdKdfML308ryO7nd06jHgU3nj04bf4lB7Ln3q9vatDLv3m8HyKBuAB5$xy7VYUNbn06mHfijnP1dK4uDJ8Nbr06h4uDJSNb4$yIhpyIpb_gwL3m87yI3uAB0L7J7paFW9yhv7VhJYuDJENc506sX_grPk5z$yJNKPmtU5B$yElPgRJPgG$7JGI3cnlpP16HgrQFcr02RDExc4$yKyfCkWjpr01u7tM5wL7i9wUzrj0$g1DVBU1Owvf3zU2N7Tv3mjg4QdgMv7WHPcb_gO$7JDN6yoDW6c$yImygsKjrT1aBzfAwoLD3sRqY4MbgML3sDpaIHyvT3sRqY4M3fjD1dPc1i79b1$FpyIjND9f1dQExdW9l4b06hn_grzp1H$vat7hg0uRt2eTDXgZ_pZXZS$_2qi8p9tkwDzq2eRZmxXir0AnaSNYY$_7P_2l81OUY2lmNr0ZmKWfPmD29KNeG0AjTY2XbeBZg7u3h7Z7Gfz6fNJfojz8eK2TCZxSPtwJBGvuzpwGWOWra$ZWCPjmKWu2TcBUcLeLQCDaSNYY4We2gKQKgUmr4WUtZwJZ7zgXglw6U_fDtb0'>reykjavik</a>
<a class="linklist" id="tilb98r2_live" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="live-compact.html?pgnData=tilb98r2.pgn&initialGame=2&refreshMinutes=0.25&refreshDemo=true">tilburg live</a>
<a class="linklist" id="tilb98r2" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="tilb98r2.html">tilburg replay</a>
<a class="linklist" id="twic765" target="pgnframe" onclick="return select_frame(this.id);" onfocus="this.blur();" href="twic765.html">twic</a>
</td></tr></tbody></table>
<div> </div>
<div><a name="demo"> </a></div>
<p></p>
<center>
<iframe id="pgnframe" name="pgnframe" height="2000" width="100%" frameborder="0" scrolling="no" marginheight="0" marginwidth="0">your browser does not support the required iframe functionality</iframe>
</center>
<p></p>
<br>
<script type="text/javascript">
selected_object = null;
function select_frame(new_frame){
new_object = document.getElementById(new_frame);
if (new_object !== null) {
if (selected_object !== null) {
if (new_object == selected_object) { return false; }
selected_object.className='linklist';
}
selected_object = new_object;
frames['pgnframe'].location.href = selected_object.href;
new_frame_width = '100%';
new_frame_height = '1000px';
if (new_frame == 'wch08ak') {
new_frame_height = '2500px';
}
if (new_frame == 'chess960') {
}
if (new_frame == 'debug') {
}
if (new_frame == 'mini') {
new_frame_height = '450px';
}
if (new_frame == 'widget') {
}
if (new_frame == 'lon09r5_live') {
new_frame_height = '419px';
new_frame_width = '660px';
}
if (new_frame == 'tilb98r2') {
}
if (new_frame == 'collection') {
new_frame_height = '2000px';
}
if (new_frame == 'inputform') {
new_frame_width = '753px';
}
if (new_frame == 'tactics') {
}
if (new_frame == 'board') {
}
if (new_frame == 'tilb98r2_live') {
new_frame_width = '480px';
new_frame_height = '360px';
}
if (new_frame == 'tilb98r2') {
}
if (new_frame == 'twic765') {
}
document.getElementById('pgnframe').width = new_frame_width;
document.getElementById('pgnframe').height = new_frame_height;
selected_object.className = "linkselected";
} else {
alert('unknown frame: ' + new_frame);
}
return false;
}
initial_frame = gup("frame");
if (initial_frame === "") { initial_frame = "mini"; }
select_frame(initial_frame);
</script>
</body>
</html>