comparison paypal/lines_acrylic_green.paylist @ 30:293275d50722 laserkard

[svn r31] Implemented Centering on the dynamic text display in a static context
author rlm
date Sun, 17 Jan 2010 08:08:20 -0500
parents 7742910e0479
children 0deeb2d5d1db
comparison
equal deleted inserted replaced
29:7742910e0479 30:293275d50722
101 <!-- End of Options --> 101 <!-- End of Options -->
102 102
103 <!-- Start of Text Input Fields --> 103 <!-- Start of Text Input Fields -->
104 <br> 104 <br>
105 Line 1:&nbsp;&nbsp; 105 Line 1:&nbsp;&nbsp;
106 <input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" onKeyUp="tt.remove();tt = raphe.print(10, 150, value, raphe.getFont('HelveticaNeue', 800), 75);tt.attr('stroke', '#f00');tt.attr('fill', 'RED');"> 106 <input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)"
107 onKeyUp="
108 tt.remove();
109
110 var font_size = 75;
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
131 >
107 <!-- --> 132 <!-- -->
108 <br> 133 <br>
109 <br> 134 <br>
110 Line 2:&nbsp;&nbsp; 135 Line 2:&nbsp;&nbsp;
111 <input type="text" id="Line 2" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" onKeyUp="tt.remove();tt = raphe.print(10, 150, value, raphe.getFont('HelveticaNeue', 800), 75);tt.attr('stroke', '#f00');tt.attr('fill', 'RED');"> 136 <input type="text" id="Line 2" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)"
137 onKeyUp="
138 tt.remove();
139
140 var font_size = 75;
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
161 >
112 <!-- --> 162 <!-- -->
113 <br> 163 <br>
114 <br> 164 <br>
115 Line 3:&nbsp;&nbsp; 165 Line 3:&nbsp;&nbsp;
116 <input type="text" id="Line 3" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" onKeyUp="tt.remove();tt = raphe.print(10, 150, value, raphe.getFont('HelveticaNeue', 800), 75);tt.attr('stroke', '#f00');tt.attr('fill', 'RED');"> 166 <input type="text" id="Line 3" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this)"
167 onKeyUp="
168 tt.remove();
169
170 var font_size = 75;
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
191 >
117 <!-- --> 192 <!-- -->
118 <br> 193 <br>
119 <br> 194 <br>
120 Line 4:&nbsp;&nbsp; 195 Line 4:&nbsp;&nbsp;
121 <input type="text" id="Line 4" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" onKeyUp="tt.remove();tt = raphe.print(10, 150, value, raphe.getFont('HelveticaNeue', 800), 75);tt.attr('stroke', '#f00');tt.attr('fill', 'RED');"> 196 <input type="text" id="Line 4" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)"
197 onKeyUp="
198 tt.remove();
199
200 var font_size = 75;
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
221 >
122 <!-- --> 222 <!-- -->
123 <br> 223 <br>
124 <br> 224 <br>
125 Line 5:&nbsp;&nbsp; 225 Line 5:&nbsp;&nbsp;
126 <input type="text" id="Line 5" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)" onKeyUp="tt.remove();tt = raphe.print(10, 150, value, raphe.getFont('HelveticaNeue', 800), 75);tt.attr('stroke', '#f00');tt.attr('fill', 'RED');"> 226 <input type="text" id="Line 5" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)"
227 onKeyUp="
228 tt.remove();
229
230 var font_size = 75;
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
251 >
127 <!-- --> 252 <!-- -->
128 <br> 253 <br>
129 <br> 254 <br>
130 Line 6:&nbsp;&nbsp; 255 Line 6:&nbsp;&nbsp;
131 <input type="text" id="Line 6" name="line_6b" size="20" value = "http://www.domain.com" ONFOCUS="clearDefault(this)" onKeyUp="tt.remove();tt = raphe.print(10, 150, value, raphe.getFont('HelveticaNeue', 800), 75);tt.attr('stroke', '#f00');tt.attr('fill', 'RED');"> 256 <input type="text" id="Line 6" name="line_6b" size="20" value = "http://www.domain.com" ONFOCUS="clearDefault(this)"
257 onKeyUp="
258 tt.remove();
259
260 var font_size = 75;
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
281 >
132 <!-- --> 282 <!-- -->
133 <br> 283 <br>
134 284
135 <!-- --> 285 <!-- -->
136 286