rlm@29
|
1 <div id = "i_inputbox">
|
rlm@29
|
2
|
rlm@29
|
3 <h1>Clarity Series:<br> The Arrow Kard.</h1>
|
rlm@29
|
4
|
rlm@29
|
5 <br><br>
|
rlm@29
|
6 <!-- Start of Form -->
|
rlm@29
|
7 <!-- Note: target="paypal" was replaced with the variable target="_self" -->
|
rlm@29
|
8 <!-- Note: shopping_url also added to code -->
|
rlm@29
|
9 <!-- These two changes allow better functionality with IE and Firefox -->
|
rlm@29
|
10 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);">
|
rlm@29
|
11 <input type="hidden" name="add" value="1">
|
rlm@29
|
12 <input type="hidden" name="cmd" value="_cart">
|
rlm@29
|
13 <!--your email address goes here -->
|
rlm@29
|
14 <input type="hidden" name="business" value="laserkards@mit.edu">
|
rlm@29
|
15 <input type="hidden" name="item_name">
|
rlm@29
|
16 <input type="hidden" name="item_number">
|
rlm@29
|
17 <input type="hidden" name="amount">
|
rlm@29
|
18 <input type="hidden" name="currency_code" value="USD">
|
rlm@29
|
19 <input type="hidden" name="lc" value="US">
|
rlm@29
|
20 <input type="hidden" name="shopping_url" value="http://www.laserkard.com/buy.pl">
|
rlm@29
|
21 <input type="hidden" name="cancel_return" value="http://www.laserkard.com">
|
rlm@29
|
22 <input type="hidden" name="return" value="http://www.laserkard.com">
|
rlm@29
|
23 <input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
|
rlm@29
|
24
|
rlm@29
|
25
|
rlm@29
|
26 <!-- -->
|
rlm@29
|
27 <input type="hidden" name="baseamt" value="00">
|
rlm@29
|
28 <input type="hidden" name="basedes" value="Clarity Series: The Arrow Kard">
|
rlm@29
|
29 <!-- -->
|
rlm@29
|
30 <input type="hidden" name="baseon0" value = "Line 1 (James Bond)">
|
rlm@29
|
31 <input type="hidden" name="baseos0">
|
rlm@29
|
32 <input type="hidden" name="baseon1" value = "Line 2 (MI6)">
|
rlm@29
|
33 <input type="hidden" name="baseos1">
|
rlm@29
|
34 <input type="hidden" name="baseon2" value = "Line 3 (Secret Agent)">
|
rlm@29
|
35 <input type="hidden" name="baseos2">
|
rlm@29
|
36 <input type="hidden" name="baseon3" value = "Line 4 (jbond@mi6.co.uk)">
|
rlm@29
|
37 <input type="hidden" name="baseos3">
|
rlm@29
|
38 <input type="hidden" name="baseon4" >
|
rlm@29
|
39 <input type="hidden" name="baseos4">
|
rlm@29
|
40 <input type="hidden" name="baseon5" >
|
rlm@29
|
41 <input type="hidden" name="baseos5">
|
rlm@29
|
42 <input type="hidden" name="baseon6" >
|
rlm@29
|
43 <input type="hidden" name="baseos6">
|
rlm@29
|
44 <input type="hidden" name="baseon7" >
|
rlm@29
|
45 <input type="hidden" name="baseos7">
|
rlm@29
|
46 <input type="hidden" name="baseon8" >
|
rlm@29
|
47 <input type="hidden" name="baseos8">
|
rlm@29
|
48 <input type="hidden" name="baseon9" >
|
rlm@29
|
49 <input type="hidden" name="baseos9">
|
rlm@29
|
50 <input type="hidden" name="baseitn">
|
rlm@29
|
51 <!-- -->
|
rlm@29
|
52 <input type="hidden" name="on0">
|
rlm@29
|
53 <input type="hidden" name="os0">
|
rlm@29
|
54 <input type="hidden" name="on1">
|
rlm@29
|
55 <input type="hidden" name="os1">
|
rlm@29
|
56 <input type="hidden" name="on2">
|
rlm@29
|
57 <input type="hidden" name="os2">
|
rlm@29
|
58 <input type="hidden" name="on3">
|
rlm@29
|
59 <input type="hidden" name="os3">
|
rlm@29
|
60 <input type="hidden" name="on4">
|
rlm@29
|
61 <input type="hidden" name="os4">
|
rlm@29
|
62 <input type="hidden" name="on5">
|
rlm@29
|
63 <input type="hidden" name="os5">
|
rlm@29
|
64 <input type="hidden" name="on6">
|
rlm@29
|
65 <input type="hidden" name="os6">
|
rlm@29
|
66 <input type="hidden" name="on7">
|
rlm@29
|
67 <input type="hidden" name="os7">
|
rlm@29
|
68 <input type="hidden" name="on8">
|
rlm@29
|
69 <input type="hidden" name="os8">
|
rlm@29
|
70 <input type="hidden" name="on9">
|
rlm@29
|
71 <input type="hidden" name="os9">
|
rlm@29
|
72 <!-- -->
|
rlm@29
|
73
|
rlm@29
|
74
|
rlm@29
|
75 <!-- Start of Options -->
|
rlm@29
|
76
|
rlm@29
|
77
|
rlm@29
|
78 <input type="radio" name = "whatev"
|
rlm@29
|
79
|
rlm@29
|
80 value="40 cards @125.00" CHECKED
|
rlm@29
|
81 onclick = "ReadForm (this.form, false);"
|
rlm@29
|
82 onload = "ReadForm (this.form, false);" >
|
rlm@29
|
83 40 cards — $125
|
rlm@29
|
84
|
rlm@29
|
85 <br>
|
rlm@29
|
86
|
rlm@29
|
87
|
rlm@29
|
88 <input type="radio" name = "whatev"
|
rlm@29
|
89
|
rlm@29
|
90 value="4 cards @30.00"
|
rlm@29
|
91 onclick = "ReadForm (this.form, false);"
|
rlm@29
|
92 onload = "ReadForm (this.form, false);" >
|
rlm@29
|
93 4 cards — $30
|
rlm@29
|
94
|
rlm@29
|
95 <br>
|
rlm@29
|
96
|
rlm@29
|
97
|
rlm@29
|
98
|
rlm@29
|
99
|
rlm@29
|
100
|
rlm@29
|
101 <!-- End of Options -->
|
rlm@29
|
102
|
rlm@29
|
103 <!-- Start of Text Input Fields -->
|
rlm@29
|
104 <br>
|
rlm@29
|
105 Line 1 (James Bond):
|
rlm@30
|
106 <input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)"
|
rlm@30
|
107 onKeyUp="
|
rlm@30
|
108 tt.remove();
|
rlm@30
|
109
|
rlm@30
|
110 var font_size = 75;
|
rlm@30
|
111
|
rlm@30
|
112 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
|
rlm@30
|
113 tt.attr('stroke', '#f00');
|
rlm@30
|
114 tt.attr('fill', 'TRANSPARENT');
|
rlm@30
|
115 var c = tt.getBBox().width;
|
rlm@30
|
116 tt.translate((502 - c)/2,0);
|
rlm@30
|
117
|
rlm@30
|
118
|
rlm@30
|
119
|
rlm@30
|
120
|
rlm@30
|
121
|
rlm@30
|
122
|
rlm@30
|
123 //document.write( c );
|
rlm@30
|
124
|
rlm@30
|
125
|
rlm@30
|
126
|
rlm@30
|
127
|
rlm@30
|
128
|
rlm@30
|
129 "
|
rlm@30
|
130
|
rlm@30
|
131 >
|
rlm@29
|
132 <!-- -->
|
rlm@29
|
133 <br>
|
rlm@29
|
134 <br>
|
rlm@29
|
135 Line 2 (MI6):
|
rlm@30
|
136 <input type="text" id="Line 2 (MI6)" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this)"
|
rlm@30
|
137 onKeyUp="
|
rlm@30
|
138 tt.remove();
|
rlm@30
|
139
|
rlm@30
|
140 var font_size = 75;
|
rlm@30
|
141
|
rlm@30
|
142 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
|
rlm@30
|
143 tt.attr('stroke', '#f00');
|
rlm@30
|
144 tt.attr('fill', 'TRANSPARENT');
|
rlm@30
|
145 var c = tt.getBBox().width;
|
rlm@30
|
146 tt.translate((502 - c)/2,0);
|
rlm@30
|
147
|
rlm@30
|
148
|
rlm@30
|
149
|
rlm@30
|
150
|
rlm@30
|
151
|
rlm@30
|
152
|
rlm@30
|
153 //document.write( c );
|
rlm@30
|
154
|
rlm@30
|
155
|
rlm@30
|
156
|
rlm@30
|
157
|
rlm@30
|
158
|
rlm@30
|
159 "
|
rlm@30
|
160
|
rlm@30
|
161 >
|
rlm@29
|
162 <!-- -->
|
rlm@29
|
163 <br>
|
rlm@29
|
164 <br>
|
rlm@29
|
165 Line 3 (Secret Agent):
|
rlm@30
|
166 <input type="text" id="Line 3 (Secret Agent)" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)"
|
rlm@30
|
167 onKeyUp="
|
rlm@30
|
168 tt.remove();
|
rlm@30
|
169
|
rlm@30
|
170 var font_size = 75;
|
rlm@30
|
171
|
rlm@30
|
172 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
|
rlm@30
|
173 tt.attr('stroke', '#f00');
|
rlm@30
|
174 tt.attr('fill', 'TRANSPARENT');
|
rlm@30
|
175 var c = tt.getBBox().width;
|
rlm@30
|
176 tt.translate((502 - c)/2,0);
|
rlm@30
|
177
|
rlm@30
|
178
|
rlm@30
|
179
|
rlm@30
|
180
|
rlm@30
|
181
|
rlm@30
|
182
|
rlm@30
|
183 //document.write( c );
|
rlm@30
|
184
|
rlm@30
|
185
|
rlm@30
|
186
|
rlm@30
|
187
|
rlm@30
|
188
|
rlm@30
|
189 "
|
rlm@30
|
190
|
rlm@30
|
191 >
|
rlm@29
|
192 <!-- -->
|
rlm@29
|
193 <br>
|
rlm@29
|
194 <br>
|
rlm@29
|
195 Line 4 (jbond@mi6.co.uk):
|
rlm@30
|
196 <input type="text" id="Line 4 (jbond@mi6.co.uk)" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)"
|
rlm@30
|
197 onKeyUp="
|
rlm@30
|
198 tt.remove();
|
rlm@30
|
199
|
rlm@30
|
200 var font_size = 75;
|
rlm@30
|
201
|
rlm@30
|
202 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
|
rlm@30
|
203 tt.attr('stroke', '#f00');
|
rlm@30
|
204 tt.attr('fill', 'TRANSPARENT');
|
rlm@30
|
205 var c = tt.getBBox().width;
|
rlm@30
|
206 tt.translate((502 - c)/2,0);
|
rlm@30
|
207
|
rlm@30
|
208
|
rlm@30
|
209
|
rlm@30
|
210
|
rlm@30
|
211
|
rlm@30
|
212
|
rlm@30
|
213 //document.write( c );
|
rlm@30
|
214
|
rlm@30
|
215
|
rlm@30
|
216
|
rlm@30
|
217
|
rlm@30
|
218
|
rlm@30
|
219 "
|
rlm@30
|
220
|
rlm@30
|
221 >
|
rlm@29
|
222 <!-- -->
|
rlm@29
|
223 <br>
|
rlm@29
|
224
|
rlm@29
|
225 <!-- -->
|
rlm@29
|
226
|
rlm@29
|
227 <!-- End of Text Input Fields -->
|
rlm@29
|
228
|
rlm@29
|
229 <br>
|
rlm@29
|
230 <input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )">
|
rlm@29
|
231 Add a penny! ^__^
|
rlm@29
|
232 <br>
|
rlm@29
|
233
|
rlm@29
|
234 <br>
|
rlm@29
|
235 Total Cost:
|
rlm@29
|
236 <input class="nbor" type="text" name="tot" size="8" value="$125.00">
|
rlm@29
|
237
|
rlm@29
|
238 <br><br>
|
rlm@29
|
239 <div id = "buttoncon">
|
rlm@29
|
240 <div id="crush">
|
rlm@29
|
241 Sending Order...
|
rlm@29
|
242 </div>
|
rlm@29
|
243
|
rlm@29
|
244 <div id="vanish">
|
rlm@29
|
245 <input type="image" onclick = "vanish(['args__go'],['vanish']);" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add">
|
rlm@29
|
246 </div>
|
rlm@29
|
247
|
rlm@29
|
248
|
rlm@29
|
249
|
rlm@29
|
250
|
rlm@29
|
251 </div>
|
rlm@29
|
252
|
rlm@29
|
253 </form>
|
rlm@29
|
254 <!-- End of Form -->
|
rlm@29
|
255
|
rlm@29
|
256
|
rlm@29
|
257 </div>
|