comparison paypal/big_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):&nbsp;&nbsp; 105 Line 1 (James Bond):&nbsp;&nbsp;
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 (jbond@mi6.co.uk):&nbsp;&nbsp; 135 Line 2 (jbond@mi6.co.uk):&nbsp;&nbsp;
111 <input type="text" id="Line 2 (jbond@mi6.co.uk)" name="line_2b" 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');"> 136 <input type="text" id="Line 2 (jbond@mi6.co.uk)" name="line_2b" size="20" value = "jbond@mi6.co.uk" 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 164
115 <!-- --> 165 <!-- -->
116 166