Mercurial > laserkard
diff 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 |
line wrap: on
line diff
1.1 --- a/paypal/big_acrylic_clear.paylist Sun Jan 24 15:06:22 2010 -0500 1.2 +++ b/paypal/big_acrylic_clear.paylist Mon Jan 25 03:42:08 2010 -0500 1.3 @@ -1,13 +1,15 @@ 1.4 <div id = "i_inputbox"> 1.5 1.6 + 1.7 + 1.8 <div class = "ttyls"> <titletron>Clarity Series:<br> The Bold Kard.</titletron></div><br> 1.9 -<div class = "descript"> Laser-Etched Clear Acrylic </div> 1.10 +<div class = "descript">Laser-Etched Clear Acrylic </div> 1.11 1.12 <!-- Start of Form --> 1.13 <!-- Note: target="paypal" was replaced with the variable target="_self" --> 1.14 <!-- Note: shopping_url also added to code --> 1.15 <!-- These two changes allow better functionality with IE and Firefox --> 1.16 -<form action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; return ReadForm(this, true);"> 1.17 +<form id = "paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" onsubmit="this.target = '_self'; verify(this);return ReadForm(this, true);"> 1.18 <input type="hidden" name="add" value="1"> 1.19 <input type="hidden" name="cmd" value="_cart"> 1.20 <!--your email address goes here --> 1.21 @@ -27,9 +29,9 @@ 1.22 <input type="hidden" name="baseamt" value="00"> 1.23 <input type="hidden" name="basedes" value="Clarity Series: The Bold Kard"> 1.24 <!-- --> 1.25 -<input type="hidden" name="baseon0" value = "Line 1 (James Bond)"> 1.26 +<input type="hidden" name="baseon0" value = "Name"> 1.27 <input type="hidden" name="baseos0"> 1.28 -<input type="hidden" name="baseon1" value = "Line 2 (jbond@mi6.co.uk)"> 1.29 +<input type="hidden" name="baseon1" value = "Email"> 1.30 <input type="hidden" name="baseos1"> 1.31 <input type="hidden" name="baseon2" > 1.32 <input type="hidden" name="baseos2"> 1.33 @@ -102,61 +104,15 @@ 1.34 1.35 <!-- Start of Text Input Fields --> 1.36 <br> 1.37 -Line 1 (James Bond): 1.38 -<input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 1.39 -onKeyUp=" 1.40 -tt.remove(); 1.41 - 1.42 -var font_size = 30; 1.43 - 1.44 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size); 1.45 -tt.attr('stroke', '#f00'); 1.46 -tt.attr('fill', 'TRANSPARENT'); 1.47 -var c = tt.getBBox().width; 1.48 -tt.translate((502 - c)/2,0); 1.49 - 1.50 - 1.51 - 1.52 - 1.53 - 1.54 - 1.55 -//document.write( c ); 1.56 - 1.57 - 1.58 - 1.59 - 1.60 - 1.61 -" 1.62 +Name: 1.63 +<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('bold');" 1.64 1.65 > 1.66 <!-- --> 1.67 <br> 1.68 <br> 1.69 -Line 2 (jbond@mi6.co.uk): 1.70 -<input type="text" id="Line 2 (jbond@mi6.co.uk)" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 1.71 -onKeyUp=" 1.72 -tt.remove(); 1.73 - 1.74 -var font_size = 30; 1.75 - 1.76 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size); 1.77 -tt.attr('stroke', '#f00'); 1.78 -tt.attr('fill', 'TRANSPARENT'); 1.79 -var c = tt.getBBox().width; 1.80 -tt.translate((502 - c)/2,0); 1.81 - 1.82 - 1.83 - 1.84 - 1.85 - 1.86 - 1.87 -//document.write( c ); 1.88 - 1.89 - 1.90 - 1.91 - 1.92 - 1.93 -" 1.94 +Email: 1.95 +<input type="text" id="Email" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('bold');" 1.96 1.97 > 1.98 <!-- -->