view paypal/big_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
line wrap: on
line source
1 <div id = "i_inputbox">
3 <h1>Vitality LaserKard BIG Style</h1>
5 <br><br>
6 <!-- Start of Form -->
7 <!-- Note: target="paypal" was replaced with the variable target="_self" -->
8 <!-- Note: shopping_url also added to code -->
9 <!-- 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);">
11 <input type="hidden" name="add" value="1">
12 <input type="hidden" name="cmd" value="_cart">
13 <!--your email address goes here -->
14 <input type="hidden" name="business" value="laserkards@mit.edu">
15 <input type="hidden" name="item_name">
16 <input type="hidden" name="item_number">
17 <input type="hidden" name="amount">
18 <input type="hidden" name="currency_code" value="USD">
19 <input type="hidden" name="lc" value="US">
20 <input type="hidden" name="shopping_url" value="http://www.laserkard.com/buy.pl">
21 <input type="hidden" name="cancel_return" value="http://www.laserkard.com">
22 <input type="hidden" name="return" value="http://www.laserkard.com">
23 <input type="hidden" name="bn" value="PP-ShopCartBF:btn_cart_LG.gif:NonHosted">
26 <!-- -->
27 <input type="hidden" name="baseamt" value="00">
28 <input type="hidden" name="basedes" value="">
29 <!-- -->
30 <input type="hidden" name="baseon0" value = "Line 1">
31 <input type="hidden" name="baseos0">
32 <input type="hidden" name="baseon1" value = "Line 2">
33 <input type="hidden" name="baseos1">
34 <input type="hidden" name="baseon2" >
35 <input type="hidden" name="baseos2">
36 <input type="hidden" name="baseon3" >
37 <input type="hidden" name="baseos3">
38 <input type="hidden" name="baseon4" >
39 <input type="hidden" name="baseos4">
40 <input type="hidden" name="baseon5" >
41 <input type="hidden" name="baseos5">
42 <input type="hidden" name="baseon6" >
43 <input type="hidden" name="baseos6">
44 <input type="hidden" name="baseon7" >
45 <input type="hidden" name="baseos7">
46 <input type="hidden" name="baseon8" >
47 <input type="hidden" name="baseos8">
48 <input type="hidden" name="baseon9" >
49 <input type="hidden" name="baseos9">
50 <input type="hidden" name="baseitn">
51 <!-- -->
52 <input type="hidden" name="on0">
53 <input type="hidden" name="os0">
54 <input type="hidden" name="on1">
55 <input type="hidden" name="os1">
56 <input type="hidden" name="on2">
57 <input type="hidden" name="os2">
58 <input type="hidden" name="on3">
59 <input type="hidden" name="os3">
60 <input type="hidden" name="on4">
61 <input type="hidden" name="os4">
62 <input type="hidden" name="on5">
63 <input type="hidden" name="os5">
64 <input type="hidden" name="on6">
65 <input type="hidden" name="os6">
66 <input type="hidden" name="on7">
67 <input type="hidden" name="os7">
68 <input type="hidden" name="on8">
69 <input type="hidden" name="os8">
70 <input type="hidden" name="on9">
71 <input type="hidden" name="os9">
72 <!-- -->
75 <!-- Start of Options -->
78 <input type="radio" name = "whatev"
80 value="40 cards @135.00" CHECKED
81 onclick = "ReadForm (this.form, false);"
82 onload = "ReadForm (this.form, false);" >
83 40 cards &mdash; $135
85 <br>
88 <input type="radio" name = "whatev"
90 value="4 cards @30.00"
91 onclick = "ReadForm (this.form, false);"
92 onload = "ReadForm (this.form, false);" >
93 4 cards &mdash; $30
95 <br>
100 &nbsp;
101 <!-- End of Options -->
103 <!-- Start of Text Input Fields -->
104 <br>
105 Line 1:&nbsp;&nbsp;
106 <input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)"
107 onKeyUp="
108 tt.remove();
110 var font_size = 75;
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);
123 //document.write( c );
129 "
131 >
132 <!-- -->
133 <br>
134 <br>
135 Line 2:&nbsp;&nbsp;
136 <input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)"
137 onKeyUp="
138 tt.remove();
140 var font_size = 75;
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);
153 //document.write( c );
159 "
161 >
162 <!-- -->
163 <br>
165 <!-- -->
167 <!-- End of Text Input Fields -->
169 <br>
170 <input type = "checkbox" onclick = "ReadForm (this.form, false);" value = "( +0.01 ^__^ )">
171 Add a penny! ^__^
172 <br>
174 <br>
175 Total Cost:&nbsp; &nbsp;
176 <input class="nbor" type="text" name="tot" size="8" value="$135.00">
178 <br><br>
179 <div id = "buttoncon">
180 <div id="crush">
181 Sending Order...
182 </div>
184 <div id="vanish">
185 <input type="image" onclick = "vanish(['args__go'],['vanish']);" src="https://www.paypal.com/en_US/i/btn/btn_cart_LG.gif" name="submit" alt="cart add">
186 </div>
189 &nbsp;
191 </div>
193 </form>
194 <!-- End of Form -->
197 </div>