Mercurial > laserkard
diff 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 |
line wrap: on
line diff
1.1 --- a/paypal/big_acrylic_green.paylist Sun Jan 24 15:06:22 2010 -0500 1.2 +++ b/paypal/big_acrylic_green.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>Vitality LaserKard BIG Style</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 @@ -103,60 +105,14 @@ 1.22 <!-- Start of Text Input Fields --> 1.23 <br> 1.24 Line 1: 1.25 -<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 1.26 -onKeyUp=" 1.27 -tt.remove(); 1.28 - 1.29 -var font_size = 30; 1.30 - 1.31 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size); 1.32 -tt.attr('stroke', '#f00'); 1.33 -tt.attr('fill', 'TRANSPARENT'); 1.34 -var c = tt.getBBox().width; 1.35 -tt.translate((502 - c)/2,0); 1.36 - 1.37 - 1.38 - 1.39 - 1.40 - 1.41 - 1.42 -//document.write( c ); 1.43 - 1.44 - 1.45 - 1.46 - 1.47 - 1.48 -" 1.49 +<input type="text" id="Line 1" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');" 1.50 1.51 > 1.52 <!-- --> 1.53 <br> 1.54 <br> 1.55 Line 2: 1.56 -<input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 1.57 -onKeyUp=" 1.58 -tt.remove(); 1.59 - 1.60 -var font_size = 30; 1.61 - 1.62 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size); 1.63 -tt.attr('stroke', '#f00'); 1.64 -tt.attr('fill', 'TRANSPARENT'); 1.65 -var c = tt.getBBox().width; 1.66 -tt.translate((502 - c)/2,0); 1.67 - 1.68 - 1.69 - 1.70 - 1.71 - 1.72 - 1.73 -//document.write( c ); 1.74 - 1.75 - 1.76 - 1.77 - 1.78 - 1.79 -" 1.80 +<input type="text" id="Line 2" name="line_2b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');" 1.81 1.82 > 1.83 <!-- -->