comparison paypal/classic_acrylic_green.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>Vitality LaserKard Classic Style</titletron></div><br> 5 <div class = "ttyls"> <titletron>Vitality LaserKard Classic Style</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">
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:&nbsp;&nbsp; 107 Line 1:&nbsp;&nbsp;
106 <input type="text" id="Line 1" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 108 <input type="text" id="Line 1" name="line_1b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
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:&nbsp;&nbsp; 114 Line 2:&nbsp;&nbsp;
136 <input type="text" id="Line 2" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 115 <input type="text" id="Line 2" name="line_2b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
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:&nbsp;&nbsp; 121 Line 3:&nbsp;&nbsp;
166 <input type="text" id="Line 3" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 122 <input type="text" id="Line 3" name="line_3b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
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:&nbsp;&nbsp; 128 Line 4:&nbsp;&nbsp;
196 <input type="text" id="Line 4" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 129 <input type="text" id="Line 4" name="line_4b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
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:&nbsp;&nbsp; 135 Line 5:&nbsp;&nbsp;
226 <input type="text" id="Line 5" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 136 <input type="text" id="Line 5" name="line_5b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
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:&nbsp;&nbsp; 142 Side:&nbsp;&nbsp;
256 <input type="text" id="Side" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this)" 143 <input type="text" id="Side" name="line_6b" size="20" value = "http://www.jamesbond.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');"
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