Mercurial > laserkard
comparison paypal/basic_acrylic_clear.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 (James Bond): | 105 Line 1 (James Bond): |
106 <input type="text" id="Line 1 (James Bond)" 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 (James Bond)" 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 (MI6): | 135 Line 2 (MI6): |
111 <input type="text" id="Line 2 (MI6)" name="line_2b" 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');"> | 136 <input type="text" id="Line 2 (MI6)" name="line_2b" size="20" value = "MI6" 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 (Secret Agent): | 165 Line 3 (Secret Agent): |
116 <input type="text" id="Line 3 (Secret Agent)" name="line_3b" 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');"> | 166 <input type="text" id="Line 3 (Secret Agent)" name="line_3b" size="20" value = "Secret Agent" 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 (jbond@mi6.co.uk): | 195 Line 4 (jbond@mi6.co.uk): |
121 <input type="text" id="Line 4 (jbond@mi6.co.uk)" name="line_4b" size="20" value = "jbond@mi6.co.uk" 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 (jbond@mi6.co.uk)" name="line_4b" size="20" value = "jbond@mi6.co.uk" 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 | 224 |
125 <!-- --> | 225 <!-- --> |
126 | 226 |