comparison paypal/classic_acrylic_clear.paylist @ 40:1ac1409ea68c laserkard

[svn r41] implemented dynamic text.
author rlm
date Mon, 25 Jan 2010 03:42:08 -0500
parents 021a9ab1ed5b
children ef8615de8a9c
comparison
equal deleted inserted replaced
39:8b3b5753ad41 40:1ac1409ea68c
1 <div id = "i_inputbox"> 1 <div id = "i_inputbox">
2 2
3
4
3 <div class = "ttyls"> <titletron>Clarity Series:<br> The Classic Kard.</titletron></div><br> 5 <div class = "ttyls"> <titletron>Clarity Series:<br> The Classic Kard.</titletron></div><br>
4 <div class = "descript"> Laser-Etched Clear Acrylic </div> 6 <div class = "descript">Laser-Etched Clear Acrylic </div>
5 7
6 <!-- Start of Form --> 8 <!-- Start of Form -->
7 <!-- Note: target="paypal" was replaced with the variable target="_self" --> 9 <!-- Note: target="paypal" was replaced with the variable target="_self" -->
8 <!-- Note: shopping_url also added to code --> 10 <!-- Note: shopping_url also added to code -->
9 <!-- These two changes allow better functionality with IE and Firefox --> 11 <!-- These two changes allow better functionality with IE and Firefox -->
10 <form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);"> 12 <form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);">
11 <input type="hidden" name="add" value="1"> 13 <input type="hidden" name="add" value="1">
12 <input type="hidden" name="cmd" value="_cart"> 14 <input type="hidden" name="cmd" value="_cart">
13 <!--your email address goes here --> 15 <!--your email address goes here -->
14 <input type="hidden" name="business" value="laserkards@mit.edu"> 16 <input type="hidden" name="business" value="laserkards@mit.edu">
15 <input type="hidden" name="item_name"> 17 <input type="hidden" name="item_name">
25 27
26 <!-- --> 28 <!-- -->
27 <input type="hidden" name="baseamt" value="00"> 29 <input type="hidden" name="baseamt" value="00">
28 <input type="hidden" name="basedes" value="Clarity Series: The Classic Kard"> 30 <input type="hidden" name="basedes" value="Clarity Series: The Classic Kard">
29 <!-- --> 31 <!-- -->
30 <input type="hidden" name="baseon0" value = "Line 1 (jbond@mi6.co.uk)"> 32 <input type="hidden" name="baseon0" value = "Email">
31 <input type="hidden" name="baseos0"> 33 <input type="hidden" name="baseos0">
32 <input type="hidden" name="baseon1" value = "Line 2 (123.456.7890)"> 34 <input type="hidden" name="baseon1" value = "Phone">
33 <input type="hidden" name="baseos1"> 35 <input type="hidden" name="baseos1">
34 <input type="hidden" name="baseon2" value = "Line 3 (James Bond)"> 36 <input type="hidden" name="baseon2" value = "Name">
35 <input type="hidden" name="baseos2"> 37 <input type="hidden" name="baseos2">
36 <input type="hidden" name="baseon3" value = "Line 4 (MI6)"> 38 <input type="hidden" name="baseon3" value = "Company">
37 <input type="hidden" name="baseos3"> 39 <input type="hidden" name="baseos3">
38 <input type="hidden" name="baseon4" value = "Line 5 (Secret Agent)"> 40 <input type="hidden" name="baseon4" value = "Occupation">
39 <input type="hidden" name="baseos4"> 41 <input type="hidden" name="baseos4">
40 <input type="hidden" name="baseon5" value = "Side (http://www.jamesbond.com)"> 42 <input type="hidden" name="baseon5" value = "Website">
41 <input type="hidden" name="baseos5"> 43 <input type="hidden" name="baseos5">
42 <input type="hidden" name="baseon6" > 44 <input type="hidden" name="baseon6" >
43 <input type="hidden" name="baseos6"> 45 <input type="hidden" name="baseos6">
44 <input type="hidden" name="baseon7" > 46 <input type="hidden" name="baseon7" >
45 <input type="hidden" name="baseos7"> 47 <input type="hidden" name="baseos7">
100 &nbsp; 102 &nbsp;
101 <!-- End of Options --> 103 <!-- End of Options -->
102 104
103 <!-- Start of Text Input Fields --> 105 <!-- Start of Text Input Fields -->
104 <br> 106 <br>
105 Line 1 (jbond@mi6.co.uk):&nbsp;&nbsp; 107 Email:&nbsp;&nbsp;
106 <input type="text" id="Line 1 (jbond@mi6.co.uk)" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 108 <input type="text" id="Email" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
107 onKeyUp="
108 tt.remove();
109
110 var font_size = 30;
111
112 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
113 tt.attr('stroke', '#f00');
114 tt.attr('fill', 'TRANSPARENT');
115 var c = tt.getBBox().width;
116 tt.translate((502 - c)/2,0);
117
118
119
120
121
122
123 //document.write( c );
124
125
126
127
128
129 "
130 109
131 > 110 >
132 <!-- --> 111 <!-- -->
133 <br> 112 <br>
134 <br> 113 <br>
135 Line 2 (123.456.7890):&nbsp;&nbsp; 114 Phone:&nbsp;&nbsp;
136 <input type="text" id="Line 2 (123.456.7890)" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 115 <input type="text" id="Phone" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
137 onKeyUp="
138 tt.remove();
139
140 var font_size = 30;
141
142 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
143 tt.attr('stroke', '#f00');
144 tt.attr('fill', 'TRANSPARENT');
145 var c = tt.getBBox().width;
146 tt.translate((502 - c)/2,0);
147
148
149
150
151
152
153 //document.write( c );
154
155
156
157
158
159 "
160 116
161 > 117 >
162 <!-- --> 118 <!-- -->
163 <br> 119 <br>
164 <br> 120 <br>
165 Line 3 (James Bond):&nbsp;&nbsp; 121 Name:&nbsp;&nbsp;
166 <input type="text" id="Line 3 (James Bond)" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 122 <input type="text" id="Name" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
167 onKeyUp="
168 tt.remove();
169
170 var font_size = 30;
171
172 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
173 tt.attr('stroke', '#f00');
174 tt.attr('fill', 'TRANSPARENT');
175 var c = tt.getBBox().width;
176 tt.translate((502 - c)/2,0);
177
178
179
180
181
182
183 //document.write( c );
184
185
186
187
188
189 "
190 123
191 > 124 >
192 <!-- --> 125 <!-- -->
193 <br> 126 <br>
194 <br> 127 <br>
195 Line 4 (MI6):&nbsp;&nbsp; 128 Company:&nbsp;&nbsp;
196 <input type="text" id="Line 4 (MI6)" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 129 <input type="text" id="Company" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
197 onKeyUp="
198 tt.remove();
199
200 var font_size = 30;
201
202 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
203 tt.attr('stroke', '#f00');
204 tt.attr('fill', 'TRANSPARENT');
205 var c = tt.getBBox().width;
206 tt.translate((502 - c)/2,0);
207
208
209
210
211
212
213 //document.write( c );
214
215
216
217
218
219 "
220 130
221 > 131 >
222 <!-- --> 132 <!-- -->
223 <br> 133 <br>
224 <br> 134 <br>
225 Line 5 (Secret Agent):&nbsp;&nbsp; 135 Occupation:&nbsp;&nbsp;
226 <input type="text" id="Line 5 (Secret Agent)" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 136 <input type="text" id="Occupation" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
227 onKeyUp="
228 tt.remove();
229
230 var font_size = 30;
231
232 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
233 tt.attr('stroke', '#f00');
234 tt.attr('fill', 'TRANSPARENT');
235 var c = tt.getBBox().width;
236 tt.translate((502 - c)/2,0);
237
238
239
240
241
242
243 //document.write( c );
244
245
246
247
248
249 "
250 137
251 > 138 >
252 <!-- --> 139 <!-- -->
253 <br> 140 <br>
254 <br> 141 <br>
255 Side (http://www.jamesbond.com):&nbsp;&nbsp; 142 Website:&nbsp;&nbsp;
256 <input type="text" id="Side (http://www.jamesbond.com)" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this)" 143 <input type="text" id="Website" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('classic');"
257 onKeyUp="
258 tt.remove();
259
260 var font_size = 30;
261
262 tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
263 tt.attr('stroke', '#f00');
264 tt.attr('fill', 'TRANSPARENT');
265 var c = tt.getBBox().width;
266 tt.translate((502 - c)/2,0);
267
268
269
270
271
272
273 //document.write( c );
274
275
276
277
278
279 "
280 144
281 > 145 >
282 <!-- --> 146 <!-- -->
283 <br> 147 <br>
284 148
285 <!-- --> 149 <!-- -->
286 150
287 <!-- End of Text Input Fields --> 151 <!-- End of Text Input Fields -->
288 152
153 <br>
154 <input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )">
155 Add a penny! ^__^
156 <br>
289 157
290 <br> 158 <br>
291 Total Cost:&nbsp; &nbsp; 159 Total Cost:&nbsp; &nbsp;
292 <input class="nbor" type="text" name="tot" size="8" value="$125.00"> 160 <input class="nbor" type="text" name="tot" size="8" value="$125.00">
293 <br>(Free Shipping) 161 <br>(Free Shipping)