Mercurial > laserkard
comparison paypal/big_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 BIG Style</titletron></div><br> | 5 <div class = "ttyls"> <titletron>Vitality LaserKard BIG 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: | 107 Line 1: |
106 <input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" | 108 <input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" 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: | 114 Line 2: |
136 <input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" | 115 <input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" 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 | 120 |