Mercurial > laserkard
comparison paypal/lines_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 Direct Kard.</titletron></div><br> | 5 <div class = "ttyls"> <titletron>Clarity Series:<br> The Direct 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 Direct Kard"> | 30 <input type="hidden" name="basedes" value="Clarity Series: The Direct Kard"> |
29 <!-- --> | 31 <!-- --> |
30 <input type="hidden" name="baseon0" value = "Line 1 (James Bond)"> | 32 <input type="hidden" name="baseon0" value = "Name"> |
31 <input type="hidden" name="baseos0"> | 33 <input type="hidden" name="baseos0"> |
32 <input type="hidden" name="baseon1" value = "Line 2 (Secret Agent)"> | 34 <input type="hidden" name="baseon1" value = "Occupation"> |
33 <input type="hidden" name="baseos1"> | 35 <input type="hidden" name="baseos1"> |
34 <input type="hidden" name="baseon2" value = "Line 3 (MI6)"> | 36 <input type="hidden" name="baseon2" value = "Company"> |
35 <input type="hidden" name="baseos2"> | 37 <input type="hidden" name="baseos2"> |
36 <input type="hidden" name="baseon3" value = "Line 4 (123.456.7890)"> | 38 <input type="hidden" name="baseon3" value = "Phone"> |
37 <input type="hidden" name="baseos3"> | 39 <input type="hidden" name="baseos3"> |
38 <input type="hidden" name="baseon4" value = "Line 5 (jbond@domain.com)"> | 40 <input type="hidden" name="baseon4" value = "Email"> |
39 <input type="hidden" name="baseos4"> | 41 <input type="hidden" name="baseos4"> |
40 <input type="hidden" name="baseon5" value = "Line 6 (www.domain.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 | 102 |
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 (James Bond): | 107 Name: |
106 <input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" | 108 <input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');" |
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 (Secret Agent): | 114 Occupation: |
136 <input type="text" id="Line 2 (Secret Agent)" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" | 115 <input type="text" id="Occupation" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');" |
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 (MI6): | 121 Company: |
166 <input type="text" id="Line 3 (MI6)" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" | 122 <input type="text" id="Company" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');" |
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 (123.456.7890): | 128 Phone: |
196 <input type="text" id="Line 4 (123.456.7890)" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" | 129 <input type="text" id="Phone" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');" |
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 (jbond@domain.com): | 135 Email: |
226 <input type="text" id="Line 5 (jbond@domain.com)" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)" | 136 <input type="text" id="Email" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');" |
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 Line 6 (www.domain.com): | 142 Website: |
256 <input type="text" id="Line 6 (www.domain.com)" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this)" | 143 <input type="text" id="Website" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');" |
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 |