diff paypal/lines_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/lines_acrylic_clear.paylist	Sun Jan 24 15:06:22 2010 -0500
     1.2 +++ b/paypal/lines_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 Direct 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,17 +29,17 @@
    1.22  <input type="hidden" name="baseamt" value="00">
    1.23  <input type="hidden" name="basedes" value="Clarity Series: The Direct 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 (Secret Agent)">
    1.29 +<input type="hidden" name="baseon1" value = "Occupation">
    1.30  <input type="hidden" name="baseos1">
    1.31 -<input type="hidden" name="baseon2" value = "Line 3 (MI6)">
    1.32 +<input type="hidden" name="baseon2" value = "Company">
    1.33  <input type="hidden" name="baseos2">
    1.34 -<input type="hidden" name="baseon3" value = "Line 4 (123.456.7890)">
    1.35 +<input type="hidden" name="baseon3" value = "Phone">
    1.36  <input type="hidden" name="baseos3">
    1.37 -<input type="hidden" name="baseon4" value = "Line 5 (jbond@domain.com)">
    1.38 +<input type="hidden" name="baseon4" value = "Email">
    1.39  <input type="hidden" name="baseos4">
    1.40 -<input type="hidden" name="baseon5" value = "Line 6 (www.domain.com)">
    1.41 +<input type="hidden" name="baseon5" value = "Website">
    1.42  <input type="hidden" name="baseos5">
    1.43  <input type="hidden" name="baseon6" >
    1.44  <input type="hidden" name="baseos6">
    1.45 @@ -102,181 +104,43 @@
    1.46  
    1.47  <!-- Start of Text Input Fields -->
    1.48  <br>
    1.49 -Line 1 (James Bond):&nbsp;&nbsp;
    1.50 -<input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
    1.51 -onKeyUp="
    1.52 -tt.remove();
    1.53 -
    1.54 -var font_size = 30;
    1.55 -
    1.56 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
    1.57 -tt.attr('stroke', '#f00');
    1.58 -tt.attr('fill', 'TRANSPARENT');
    1.59 -var c = tt.getBBox().width;
    1.60 -tt.translate((502 - c)/2,0);
    1.61 -
    1.62 -
    1.63 -
    1.64 -
    1.65 -
    1.66 -
    1.67 -//document.write( c );
    1.68 -
    1.69 -
    1.70 -
    1.71 -
    1.72 -
    1.73 -"
    1.74 +Name:&nbsp;&nbsp;
    1.75 +<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
    1.76  
    1.77  >
    1.78  <!--   -->
    1.79  <br>
    1.80  <br>
    1.81 -Line 2 (Secret Agent):&nbsp;&nbsp;
    1.82 -<input type="text" id="Line 2 (Secret Agent)" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
    1.83 -onKeyUp="
    1.84 -tt.remove();
    1.85 -
    1.86 -var font_size = 30;
    1.87 -
    1.88 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
    1.89 -tt.attr('stroke', '#f00');
    1.90 -tt.attr('fill', 'TRANSPARENT');
    1.91 -var c = tt.getBBox().width;
    1.92 -tt.translate((502 - c)/2,0);
    1.93 -
    1.94 -
    1.95 -
    1.96 -
    1.97 -
    1.98 -
    1.99 -//document.write( c );
   1.100 -
   1.101 -
   1.102 -
   1.103 -
   1.104 -
   1.105 -"
   1.106 +Occupation:&nbsp;&nbsp;
   1.107 +<input type="text" id="Occupation" name="line_2b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
   1.108  
   1.109  >
   1.110  <!--   -->
   1.111  <br>
   1.112  <br>
   1.113 -Line 3 (MI6):&nbsp;&nbsp;
   1.114 -<input type="text" id="Line 3 (MI6)" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
   1.115 -onKeyUp="
   1.116 -tt.remove();
   1.117 -
   1.118 -var font_size = 30;
   1.119 -
   1.120 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   1.121 -tt.attr('stroke', '#f00');
   1.122 -tt.attr('fill', 'TRANSPARENT');
   1.123 -var c = tt.getBBox().width;
   1.124 -tt.translate((502 - c)/2,0);
   1.125 -
   1.126 -
   1.127 -
   1.128 -
   1.129 -
   1.130 -
   1.131 -//document.write( c );
   1.132 -
   1.133 -
   1.134 -
   1.135 -
   1.136 -
   1.137 -"
   1.138 +Company:&nbsp;&nbsp;
   1.139 +<input type="text" id="Company" name="line_3b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
   1.140  
   1.141  >
   1.142  <!--   -->
   1.143  <br>
   1.144  <br>
   1.145 -Line 4 (123.456.7890):&nbsp;&nbsp;
   1.146 -<input type="text" id="Line 4 (123.456.7890)" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this)" 
   1.147 -onKeyUp="
   1.148 -tt.remove();
   1.149 -
   1.150 -var font_size = 30;
   1.151 -
   1.152 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   1.153 -tt.attr('stroke', '#f00');
   1.154 -tt.attr('fill', 'TRANSPARENT');
   1.155 -var c = tt.getBBox().width;
   1.156 -tt.translate((502 - c)/2,0);
   1.157 -
   1.158 -
   1.159 -
   1.160 -
   1.161 -
   1.162 -
   1.163 -//document.write( c );
   1.164 -
   1.165 -
   1.166 -
   1.167 -
   1.168 -
   1.169 -"
   1.170 +Phone:&nbsp;&nbsp;
   1.171 +<input type="text" id="Phone" name="line_4b" size="20" value = "123.456.7890" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
   1.172  
   1.173  >
   1.174  <!--   -->
   1.175  <br>
   1.176  <br>
   1.177 -Line 5 (jbond@domain.com):&nbsp;&nbsp;
   1.178 -<input type="text" id="Line 5 (jbond@domain.com)" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this)" 
   1.179 -onKeyUp="
   1.180 -tt.remove();
   1.181 -
   1.182 -var font_size = 30;
   1.183 -
   1.184 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   1.185 -tt.attr('stroke', '#f00');
   1.186 -tt.attr('fill', 'TRANSPARENT');
   1.187 -var c = tt.getBBox().width;
   1.188 -tt.translate((502 - c)/2,0);
   1.189 -
   1.190 -
   1.191 -
   1.192 -
   1.193 -
   1.194 -
   1.195 -//document.write( c );
   1.196 -
   1.197 -
   1.198 -
   1.199 -
   1.200 -
   1.201 -"
   1.202 +Email:&nbsp;&nbsp;
   1.203 +<input type="text" id="Email" name="line_5b" size="20" value = "jbond@domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
   1.204  
   1.205  >
   1.206  <!--   -->
   1.207  <br>
   1.208  <br>
   1.209 -Line 6 (www.domain.com):&nbsp;&nbsp;
   1.210 -<input type="text" id="Line 6 (www.domain.com)" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this)" 
   1.211 -onKeyUp="
   1.212 -tt.remove();
   1.213 -
   1.214 -var font_size = 30;
   1.215 -
   1.216 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   1.217 -tt.attr('stroke', '#f00');
   1.218 -tt.attr('fill', 'TRANSPARENT');
   1.219 -var c = tt.getBBox().width;
   1.220 -tt.translate((502 - c)/2,0);
   1.221 -
   1.222 -
   1.223 -
   1.224 -
   1.225 -
   1.226 -
   1.227 -//document.write( c );
   1.228 -
   1.229 -
   1.230 -
   1.231 -
   1.232 -
   1.233 -"
   1.234 +Website:&nbsp;&nbsp;
   1.235 +<input type="text" id="Website" name="line_6b" size="20" value = "www.domain.com" ONFOCUS="clearDefault(this);" onKeyUp="redraw('direct');"
   1.236  
   1.237  >
   1.238  <!--   -->