Mercurial > laserkard
diff paypal/basic_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/basic_acrylic_green.paylist Sun Jan 24 15:06:22 2010 -0500 1.2 +++ b/paypal/basic_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 Basic 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,120 +105,28 @@ 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 = "MI6" 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 = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');" 1.81 1.82 > 1.83 <!-- --> 1.84 <br> 1.85 <br> 1.86 Line 3: 1.87 -<input type="text" id="Line 3" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 1.88 -onKeyUp=" 1.89 -tt.remove(); 1.90 - 1.91 -var font_size = 30; 1.92 - 1.93 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size); 1.94 -tt.attr('stroke', '#f00'); 1.95 -tt.attr('fill', 'TRANSPARENT'); 1.96 -var c = tt.getBBox().width; 1.97 -tt.translate((502 - c)/2,0); 1.98 - 1.99 - 1.100 - 1.101 - 1.102 - 1.103 - 1.104 -//document.write( c ); 1.105 - 1.106 - 1.107 - 1.108 - 1.109 - 1.110 -" 1.111 +<input type="text" id="Line 3" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');" 1.112 1.113 > 1.114 <!-- --> 1.115 <br> 1.116 <br> 1.117 Line 4: 1.118 -<input type="text" id="Line 4" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 1.119 -onKeyUp=" 1.120 -tt.remove(); 1.121 - 1.122 -var font_size = 30; 1.123 - 1.124 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size); 1.125 -tt.attr('stroke', '#f00'); 1.126 -tt.attr('fill', 'TRANSPARENT'); 1.127 -var c = tt.getBBox().width; 1.128 -tt.translate((502 - c)/2,0); 1.129 - 1.130 - 1.131 - 1.132 - 1.133 - 1.134 - 1.135 -//document.write( c ); 1.136 - 1.137 - 1.138 - 1.139 - 1.140 - 1.141 -" 1.142 +<input type="text" id="Line 4" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('');" 1.143 1.144 > 1.145 <!-- -->