rlm@29
|
1 <div id = "i_inputbox">
|
rlm@29
|
2
|
rlm@29
|
3 <h1>Vitality LaserKard BIG Style</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="">
|
rlm@29
|
29 <!-- -->
|
rlm@29
|
30 <input type="hidden" name="baseon0" value = "Line 1">
|
rlm@29
|
31 <input type="hidden" name="baseos0">
|
rlm@29
|
32 <input type="hidden" name="baseon1" value = "Line 2">
|
rlm@29
|
33 <input type="hidden" name="baseos1">
|
rlm@29
|
34 <input type="hidden" name="baseon2" >
|
rlm@29
|
35 <input type="hidden" name="baseos2">
|
rlm@29
|
36 <input type="hidden" name="baseon3" >
|
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 @135.00" CHECKED
|
rlm@29
|
81 onclick = "ReadForm (this.form, false);"
|
rlm@29
|
82 onload = "ReadForm (this.form, false);" >
|
rlm@29
|
83 40 cards — $135
|
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:
|
rlm@30
|
106 <input type="text" id="Line 1" 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:
|
rlm@30
|
136 <input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" 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
|
rlm@29
|
165 <!-- -->
|
rlm@29
|
166
|
rlm@29
|
167 <!-- End of Text Input Fields -->
|
rlm@29
|
168
|
rlm@29
|
169 <br>
|
rlm@29
|
170 <input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )">
|
rlm@29
|
171 Add a penny! ^__^
|
rlm@29
|
172 <br>
|
rlm@29
|
173
|
rlm@29
|
174 <br>
|
rlm@29
|
175 Total Cost:
|
rlm@29
|
176 <input class="nbor" type="text" name="tot" size="8" value="$135.00">
|
rlm@29
|
177
|
rlm@29
|
178 <br><br>
|
rlm@29
|
179 <div id = "buttoncon">
|
rlm@29
|
180 <div id="crush">
|
rlm@29
|
181 Sending Order...
|
rlm@29
|
182 </div>
|
rlm@29
|
183
|
rlm@29
|
184 <div id="vanish">
|
rlm@29
|
185 <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
|
186 </div>
|
rlm@29
|
187
|
rlm@29
|
188
|
rlm@29
|
189
|
rlm@29
|
190
|
rlm@29
|
191 </div>
|
rlm@29
|
192
|
rlm@29
|
193 </form>
|
rlm@29
|
194 <!-- End of Form -->
|
rlm@29
|
195
|
rlm@29
|
196
|
rlm@29
|
197 </div>
|