-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhandviewer.html
166 lines (160 loc) · 5.96 KB
/
handviewer.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
<!-- Copyright 2009-2014 Bridge Base Online, Ltd. www.bridgebase.com All Rights Reserved -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8" />
<link rel="stylesheet" href="https://www.bridgebase.com/tools/hvstyles.css" type="text/css" />
<link
rel="stylesheet"
href="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/themes/base/jquery-ui.css"
/>
<script
src="https://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"
type="text/javascript"
></script>
<script
type="text/javascript"
src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.9.2/jquery-ui.min.js"
></script>
<script
type="text/javascript"
src="https://www.bridgebase.com/js/jquery.hoverIntent.minified.js"
></script>
<script>
var Module = {};
</script>
<script src="out.js"></script>
<script src="dds.js"></script>
<link rel="stylesheet" href="https://www.bridgebase.com/css/bbo_public.css" />
<script type="text/javascript" src="https://www.bridgebase.com/js/bbo_public.js"></script>
<script type="text/javascript">
$(document).ready(function () {
var hovercfg = {
interval: 300,
sensitivity: 6,
timeout: 0,
over: function (e) {
bbo_profile(e, 'BBO:' + this.innerHTML)
},
out: function () {},
}
if (gup('bbo').toUpperCase() == 'Y') $('.nameTextDivStyle').hoverIntent(hovercfg)
})
</script>
</head>
<body
bgcolor="#FFFFFF"
leftMargin="0"
topMargin="0"
rightMargin="0"
bottomMargin="0"
onclick="hideContextMenu(event); hideContextMenu(event,true);"
onorientationchange="respondToResize();"
onkeydown="handleKeyDown(event);"
style="overflow: hidden"
onload="documentLoaded();"
>
<noscript>
<br />
<center>
<font face="Arial"
>JavaScript is disabled in your web browser. In order to use this software you must enable
Javascript and refresh this page.</font
>
</center>
</noscript>
<div class="mainDivStyle" id="theDiv" oncontextmenu="contextMenuRequest(event); return false;">
<div class="editorMenuDivStyle" id="editorMenuDiv" style="visibility: hidden">
<table style="font-size: 18; border: 1px solid black" bgcolor="#99CCCC">
<tr>
<td>
<input type="checkbox" id="north" onclick="editorMenuHandChanged()" /> Include
North<br />
<input type="checkbox" id="south" onclick="editorMenuHandChanged()" /> Include
South<br />
<input type="checkbox" id="east" onclick="editorMenuHandChanged()" /> Include
East<br />
<input type="checkbox" id="west" onclick="editorMenuHandChanged()" /> Include
West<br />
<input
type="checkbox"
id="bidding"
onclick="editorMenuBiddingChanged()"
/> Include Bidding<br />
</td>
<td id="dealerTD" style="padding-left: 20">
<b>Dealer</b><br />
<input type="radio" id="ndeals" name="dealer" /> North<br />
<input type="radio" id="sdeals" name="dealer" /> South<br />
<input type="radio" id="edeals" name="dealer" /> East<br />
<input type="radio" id="wdeals" name="dealer" /> West<br />
</td>
<td id="vulTD" style="padding-left: 20">
<b>Vulnerability</b><br />
<input type="radio" id="none" name="vul" /> None<br />
<input type="radio" id="both" name="vul" /> Both<br />
<input type="radio" id="ns" name="vul" /> NS<br />
<input type="radio" id="ew" name="vul" /> EW<br />
</td>
</tr>
<tr>
<td colspan="3" style="padding-top: 20">
<center>
<input
type="button"
id="createButton"
value="Create Bridge Diagram"
onclick="editorMenuCreateClicked()"
style="font-size: 22; overflow: visible; padding-left: 5; padding-right: 5"
/>
</center>
</td>
</tr>
</table>
</div>
</div>
<div class="editorDivStyle" id="editorDiv"></div>
<div class="annotDivStyle" id="annotDiv"></div>
<div class="buttonDivStyle" id="buttonDiv" oncontextmenu="return false;">
<input type="button" value="New" onclick="newDeal()" id="newButton" class="buttonStyle" />
<input
type="button"
value="Shuffle"
onclick="shuffle()"
id="shuffleButton"
class="buttonStyle"
/>
<input
type="button"
value="Rewind"
onclick="rewind()"
id="rewindButton"
class="buttonStyle"
/>
<input type="button" value="Previous" onclick="undo()" id="undoButton" class="buttonStyle" />
<input type="button" value="Next" onclick="next()" id="nextButton" class="buttonStyle" />
<input
type="button"
value="Options"
onclick="options()"
id="optionsButton"
class="buttonStyle"
/>
<input type="button" value="GIB" onclick="gib()" id="gibButton" class="buttonStyle" />
<input type="button" value="Play" onclick="play()" id="playButton" class="buttonStyle" />
<a href="https://www.bridgebase.com" target="_blank">
<img
src="https://www.bridgebase.com/assets/images/logo-bbo-2020-horizontal-transparent-160.png"
height="15px"
vspace="2"
border="0"
id="logoImage"
class="logoImageStyle"
/>
</a>
</div>
</body>
<!-- <script type="text/javascript" src="./src/hv/jsbig.js?cb=1"></script> -->
<script>
</script>
<script type="text/javascript" src="handviewer.js?cb=3"></script>
</html>