comparison paypal/big_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 Bold Kard.</titletron></div><br> 5 <div class = "ttyls"> <titletron>Clarity Series:<br> The Bold 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 Bold Kard"> 30 <input type="hidden" name="basedes" value="Clarity Series: The Bold 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 (jbond@mi6.co.uk)"> 34 <input type="hidden" name="baseon1" value = "Email">
33 <input type="hidden" name="baseos1"> 35 <input type="hidden" name="baseos1">
34 <input type="hidden" name="baseon2" > 36 <input type="hidden" name="baseon2" >
35 <input type="hidden" name="baseos2"> 37 <input type="hidden" name="baseos2">
36 <input type="hidden" name="baseon3" > 38 <input type="hidden" name="baseon3" >
37 <input type="hidden" name="baseos3"> 39 <input type="hidden" name="baseos3">
100 &nbsp; 102 &nbsp;
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):&nbsp;&nbsp; 107 Name:&nbsp;&nbsp;
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('bold');"
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 (jbond@mi6.co.uk):&nbsp;&nbsp; 114 Email:&nbsp;&nbsp;
136 <input type="text" id="Line 2 (jbond@mi6.co.uk)" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 115 <input type="text" id="Email" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('bold');"
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