diff paypal/basic_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/basic_acrylic_clear.paylist	Sun Jan 24 15:06:22 2010 -0500
     1.2 +++ b/paypal/basic_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 Arrow 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,13 +29,13 @@
    1.22  <input type="hidden" name="baseamt" value="00">
    1.23  <input type="hidden" name="basedes" value="Clarity Series: The Arrow 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 (MI6)">
    1.29 +<input type="hidden" name="baseon1" value = "Company">
    1.30  <input type="hidden" name="baseos1">
    1.31 -<input type="hidden" name="baseon2" value = "Line 3 (Secret Agent)">
    1.32 +<input type="hidden" name="baseon2" value = "Occupation">
    1.33  <input type="hidden" name="baseos2">
    1.34 -<input type="hidden" name="baseon3" value = "Line 4 (jbond@mi6.co.uk)">
    1.35 +<input type="hidden" name="baseon3" value = "Email">
    1.36  <input type="hidden" name="baseos3">
    1.37  <input type="hidden" name="baseon4" >
    1.38  <input type="hidden" name="baseos4">
    1.39 @@ -102,121 +104,29 @@
    1.40  
    1.41  <!-- Start of Text Input Fields -->
    1.42  <br>
    1.43 -Line 1 (James Bond):&nbsp;&nbsp;
    1.44 -<input type="text" id="Line 1 (James Bond)" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this)" 
    1.45 -onKeyUp="
    1.46 -tt.remove();
    1.47 -
    1.48 -var font_size = 30;
    1.49 -
    1.50 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
    1.51 -tt.attr('stroke', '#f00');
    1.52 -tt.attr('fill', 'TRANSPARENT');
    1.53 -var c = tt.getBBox().width;
    1.54 -tt.translate((502 - c)/2,0);
    1.55 -
    1.56 -
    1.57 -
    1.58 -
    1.59 -
    1.60 -
    1.61 -//document.write( c );
    1.62 -
    1.63 -
    1.64 -
    1.65 -
    1.66 -
    1.67 -"
    1.68 +Name:&nbsp;&nbsp;
    1.69 +<input type="text" id="Name" name="line_1b" size="20" value = "James Bond" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
    1.70  
    1.71  >
    1.72  <!--   -->
    1.73  <br>
    1.74  <br>
    1.75 -Line 2 (MI6):&nbsp;&nbsp;
    1.76 -<input type="text" id="Line 2 (MI6)" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this)" 
    1.77 -onKeyUp="
    1.78 -tt.remove();
    1.79 -
    1.80 -var font_size = 30;
    1.81 -
    1.82 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
    1.83 -tt.attr('stroke', '#f00');
    1.84 -tt.attr('fill', 'TRANSPARENT');
    1.85 -var c = tt.getBBox().width;
    1.86 -tt.translate((502 - c)/2,0);
    1.87 -
    1.88 -
    1.89 -
    1.90 -
    1.91 -
    1.92 -
    1.93 -//document.write( c );
    1.94 -
    1.95 -
    1.96 -
    1.97 -
    1.98 -
    1.99 -"
   1.100 +Company:&nbsp;&nbsp;
   1.101 +<input type="text" id="Company" name="line_2b" size="20" value = "MI6" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
   1.102  
   1.103  >
   1.104  <!--   -->
   1.105  <br>
   1.106  <br>
   1.107 -Line 3 (Secret Agent):&nbsp;&nbsp;
   1.108 -<input type="text" id="Line 3 (Secret Agent)" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this)" 
   1.109 -onKeyUp="
   1.110 -tt.remove();
   1.111 -
   1.112 -var font_size = 30;
   1.113 -
   1.114 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   1.115 -tt.attr('stroke', '#f00');
   1.116 -tt.attr('fill', 'TRANSPARENT');
   1.117 -var c = tt.getBBox().width;
   1.118 -tt.translate((502 - c)/2,0);
   1.119 -
   1.120 -
   1.121 -
   1.122 -
   1.123 -
   1.124 -
   1.125 -//document.write( c );
   1.126 -
   1.127 -
   1.128 -
   1.129 -
   1.130 -
   1.131 -"
   1.132 +Occupation:&nbsp;&nbsp;
   1.133 +<input type="text" id="Occupation" name="line_3b" size="20" value = "Secret Agent" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
   1.134  
   1.135  >
   1.136  <!--   -->
   1.137  <br>
   1.138  <br>
   1.139 -Line 4 (jbond@mi6.co.uk):&nbsp;&nbsp;
   1.140 -<input type="text" id="Line 4 (jbond@mi6.co.uk)" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this)" 
   1.141 -onKeyUp="
   1.142 -tt.remove();
   1.143 -
   1.144 -var font_size = 30;
   1.145 -
   1.146 -tt = raphe.print(0, 145, value, raphe.getFont('HelveticaNeue', 700), font_size);
   1.147 -tt.attr('stroke', '#f00');
   1.148 -tt.attr('fill', 'TRANSPARENT');
   1.149 -var c = tt.getBBox().width;
   1.150 -tt.translate((502 - c)/2,0);
   1.151 -
   1.152 -
   1.153 -
   1.154 -
   1.155 -
   1.156 -
   1.157 -//document.write( c );
   1.158 -
   1.159 -
   1.160 -
   1.161 -
   1.162 -
   1.163 -"
   1.164 +Email:&nbsp;&nbsp;
   1.165 +<input type="text" id="Email" name="line_4b" size="20" value = "jbond@mi6.co.uk" ONFOCUS="clearDefault(this);" onKeyUp="redraw('arrow');"
   1.166  
   1.167  >
   1.168  <!--   -->