-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMathGame.html
More file actions
133 lines (112 loc) · 5.42 KB
/
MathGame.html
File metadata and controls
133 lines (112 loc) · 5.42 KB
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
<html><!-- InstanceBegin template="/Templates/avimagic.dwt" codeOutsideHTMLIsLocked="false" -->
<head>
<!-- InstanceBeginEditable name="doctitle" -->
<title>Think of a number from 1 to 63 :: Online Magic Tricks :: The Magical Comedy of Avi</title>
<meta name="description" content="South Florida comedy magician for parties and corporate events">
<meta name="keywords" content="Avi Frier, magician, magic, comedy, comedian, South Florida, Miami, Hollywood">
<script language="JavaScript">
<!-- hide contents from old browsers
var Cost, GST, PST, Grand_Total;
function tally()
{
Cost = 0;
if (document.orderform.Item1.checked) { Cost = Cost + 1; }
if (document.orderform.Item2.checked) { Cost = Cost + 2; }
if (document.orderform.Item3.checked) { Cost = Cost + 4; }
if (document.orderform.Item4.checked) { Cost = Cost + 8; }
if (document.orderform.Item5.checked) { Cost = Cost + 16; }
if (document.orderform.Item6.checked) { Cost = Cost + 32; }
Cost = (Cost);
document.orderform.Total.value = "" + Cost;
}
function dollar (amount)
{
amount =(amount * 100);
amount =(amount/100);
if (((amount) == Math.floor(amount)) && ((amount - Math.floor (amount)) == 0))
{
amount = amount + ".00"
return amount;
}
if ( ((amount * 10) - Math.floor(amount * 10)) == 0)
{
amount = amount + "0";
return amount;
}
if ( ((amount * 100) - Math.floor(amount * 100)) == 0)
{
amount = amount;
return amount;
}
return amount;
}
//--></script>
<!-- InstanceEndEditable -->
<meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!-- InstanceBeginEditable name="head" --><!-- InstanceEndEditable -->
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<!-- ImageReady Slices (magician-comedian-avi-frier.psd) -->
<!-- InstanceBeginEditable name="content" -->
<form method="post" name="orderform" action="mailto:">
<h1 align="center"><font face="Arial, Helvetica, sans-serif">Think of a number from 1 to 63.</font></h1>
<p align="center"><font size="+1" face="Arial, Helvetica, sans-serif">Now look at each of the number cards below.</font></p>
<p align="center"><font size="+1" face="Arial, Helvetica, sans-serif">If your number is on a card, check the box to the right of that card. </font></p>
<table border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td><font face="Arial, Helvetica, sans-serif"><img src="01.gif" width="296" height="154"></font></td>
<td><font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="checkbox" Name="Item1" Value="Item1_chosen" onClick="tally()">
</font></td>
</tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><img src="02.gif" width="296" height="154"></font></td>
<td><font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="checkbox" Name="Item2" Value="Item2_chosen" onClick="tally()">
</font></td>
</tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><img src="04.gif" width="296" height="154"></font></td>
<td><font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="checkbox" Name="Item3" Value="Item3_chosen" onClick="tally()">
</font></td>
</tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><img src="08.gif" width="296" height="154"></font></td>
<td><font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="checkbox" Name="Item4" Value="Item4_chosen" onClick="tally()">
</font></td>
</tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><img src="16.gif" width="296" height="154"></font></td>
<td><font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="checkbox" Name="Item5" Value="Item5_chosen" onClick="tally()">
</font></td>
</tr>
<tr>
<td><font face="Arial, Helvetica, sans-serif"><img src="32.gif" width="296" height="154"></font></td>
<td><font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="checkbox" Name="Item6" Value="Item6_chosen" onClick="tally()">
</font></td>
</tr>
</table>
<p align="center"> </p>
<p align="center"><font face="Arial, Helvetica, sans-serif">Now, scroll down a little bit...</font></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center"><font face="Arial, Helvetica, sans-serif">YOUR NUMBER IS...</font></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">
<font face="Arial, Helvetica, sans-serif">
<INPUT TYPE="text" NAME="Total" size="7">
</font></p>
<p align="center"> </p>
<p align="center"> </p>
<p align="center">This Project Created By Mark Anthony Agudo</p>
<p align="center"> </p>
</form>
<!-- InstanceEndEditable -->
</body>
<!-- InstanceEnd --></html>